Skip to content

Instantly share code, notes, and snippets.

@bceskavich
Created October 6, 2015 02:32
Show Gist options
  • Save bceskavich/9a210357e1fdd18880de to your computer and use it in GitHub Desktop.
Save bceskavich/9a210357e1fdd18880de to your computer and use it in GitHub Desktop.
.eslintrc
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true,
},
"globals": {
"API_URL": true
},
"rules": {
"new-cap": 0,
"no-debugger": 0,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"strict": [2, "never"],
"quotes": [2, "single"],
"react/jsx-boolean-value": 1,
"react/jsx-quotes": 1,
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 1,
"react/prop-types": 1,
"react/self-closing-comp": 1,
"react/wrap-multilines": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment