Created
May 1, 2018 18:56
-
-
Save agm1984/a0d89bcafc96c0c0d9cfa13589f75ce8 to your computer and use it in GitHub Desktop.
Adam ES Lint Airbnb config settings
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": { | |
"node": true, | |
"browser": true, | |
"es6": true | |
}, | |
"parser": "babel-eslint", | |
"extends": "airbnb", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"experimentalObjectRestSpread": true, | |
"jsx": true | |
}, | |
"sourceType": "module" | |
}, | |
"plugins": [ | |
"react", | |
"jsx-a11y", | |
"import" | |
], | |
"rules": { | |
"camelcase": 0, | |
"eol-last": [ | |
"error", | |
"always" | |
], | |
"indent": [ | |
"error", | |
2, | |
{ | |
"SwitchCase": 1 | |
} | |
], | |
"linebreak-style": 0, | |
"quotes": [ | |
"error", | |
"single" | |
], | |
"semi": [ | |
"error", | |
"never" | |
], | |
"react/prefer-stateless-function": 0, | |
"react/jsx-filename-extension": 0, | |
"react/no-find-dom-node": 0, | |
"global-require": 0, | |
"no-underscore-dangle": 0, | |
"react/no-array-index-key": 0, | |
"no-nested-ternary": 0, | |
"class-methods-use-this": 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment