Skip to content

Instantly share code, notes, and snippets.

@alarner
Last active February 24, 2016 19:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alarner/d7888d68e9228326a71b to your computer and use it in GitHub Desktop.
Save alarner/d7888d68e9228326a71b to your computer and use it in GitHub Desktop.
eslint configuration
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
},
"rules": {
"quotes": [2, "single"],
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"eol-last": [0],
"space-infix-ops": [0],
"no-use-before-define": [2, "nofunc"],
"no-underscore-dangle": [0],
"handle-callback-err": [0],
"no-unused-expressions": [0],
"semi": [2, "always"],
"strict": [2, "always"],
"comma-dangle": [2, "never"],
"react/jsx-uses-react": [2],
"react/jsx-uses-vars": [2],
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"react"
],
"globals": {
"describe" : false,
"it" : false,
"before" : false,
"beforeEach" : false,
"after" : false,
"afterEach" : false,
"expect" : false,
"bookshelf" : false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment