Skip to content

Instantly share code, notes, and snippets.

@nelreina
Last active November 27, 2016 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nelreina/1a728a9f1d0dd61e863231400b36ae61 to your computer and use it in GitHub Desktop.
Save nelreina/1a728a9f1d0dd61e863231400b36ae61 to your computer and use it in GitHub Desktop.
Eslint no React
{
"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