Last active
November 20, 2019 14:22
-
-
Save deandex/23d8c973497e55aa7a278203d1daff82 to your computer and use it in GitHub Desktop.
VSCode Eslint Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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