Skip to content

Instantly share code, notes, and snippets.

@deandex
Last active November 20, 2019 14:22
Show Gist options
  • Save deandex/23d8c973497e55aa7a278203d1daff82 to your computer and use it in GitHub Desktop.
Save deandex/23d8c973497e55aa7a278203d1daff82 to your computer and use it in GitHub Desktop.
VSCode Eslint Config
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
"prettier/prettier": ["error"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/label-has-for": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/control-has-associated-label": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment