Last active
November 27, 2016 16:23
-
-
Save nelreina/1a728a9f1d0dd61e863231400b36ae61 to your computer and use it in GitHub Desktop.
Eslint no React
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
{ | |
"extends": [ | |
"eslint:recommended", | |
"plugin:import/errors", | |
"plugin:import/warnings" | |
], | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module" | |
}, | |
"env": { | |
"es6": true, | |
"browser": true, | |
"node": true, | |
"jquery": true, | |
"mocha": true | |
}, | |
"rules": { | |
"quotes": [2, "single"], | |
"comma-dangle": [2, "always-multiline"], | |
"object-curly-spacing": [2, "always"], | |
"comma-spacing": ["error", { "before": false, "after": true }], | |
"no-console": 1, | |
"no-debugger": 1, | |
"no-var": 2, | |
"semi": [2, "always"], | |
"no-trailing-spaces": 1, | |
"eol-last": 0, | |
"no-unused-vars": 1, | |
"no-underscore-dangle": 0, | |
"no-alert": 0, | |
"no-lone-blocks": 0, | |
"jsx-quotes": 1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment