Skip to content

Instantly share code, notes, and snippets.

@djfm
Created December 11, 2015 14:42
Show Gist options
  • Save djfm/8e2560dc4581298073e9 to your computer and use it in GitHub Desktop.
Save djfm/8e2560dc4581298073e9 to your computer and use it in GitHub Desktop.
{
"env": {
"es6": true,
"node": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"plugins": [
"react"
],
"rules": {
"semi": 2,
"eqeqeq": 1,
"new-cap": 1,
"no-undef": 2,
"no-unused-vars": 1,
"max-depth": [1, 3],
"no-loop-func": 1,
"react/forbid-prop-types": 0,
"react/jsx-boolean-value": 1,
"react/jsx-closing-bracket-location": 1,
"react/jsx-curly-spacing": 1,
"react/jsx-handler-names": 0,
"react/jsx-indent-props": 0,
"react/jsx-key": 1,
"react/jsx-max-props-per-line": 1,
"react/jsx-no-bind": 1,
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-literals": 1,
"react/jsx-no-undef": 1,
"react/jsx-pascal-case": 1,
"react/jsx-quotes": 1,
"react/jsx-sort-prop-types": 1,
"react/jsx-sort-props": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-danger": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/no-multi-comp": 1,
"react/no-set-state": 1,
"react/no-unknown-property": 1,
"react/prefer-es6-class": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 1,
"react/require-extension": 1,
"react/self-closing-comp": 1,
"react/sort-comp": 1,
"react/wrap-multilines": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment