eslintrc-react
{
"parser": "babel-eslint",
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"after": true,
"afterEach": true,
"before": true,
"beforeEach": true,
"describe": true,
"it": true,
"xit": true,
"xdescribe": true
},
"plugins": [
"react"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"react": true
}
},
"rules": {
"comma-dangle": 0,
"semi": 1,
"no-console": 0,
"no-extra-semi": 2,
"no-useless-escape": 0,
"no-unused-vars": 0,
"jsx-quotes": 0,
"react/display-name": 1,
"react/forbid-prop-types": 1,
"react/jsx-boolean-value": 0,
"react/no-find-dom-node": 0,
"react/jsx-closing-bracket-location": [
2,
{
"selfClosing": "after-props",
"nonEmpty": "after-props"
}
],
"react/jsx-curly-spacing": [
2,
"never",
{
"allowMultiline": false
}
],
"react/jsx-handler-names": 1,
"react/jsx-indent-props": 1,
"react/jsx-key": 1,
"react/jsx-max-props-per-line": [
2,
{
"maximum": 3
}
],
"react/jsx-no-bind": 0,
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-undef": 1,
"react/jsx-pascal-case": 1,
"react/jsx-sort-props": 0,
"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": 0,
"react/no-unknown-property": 1,
"react/prefer-es6-class": 1,
"react/prop-types": 0,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 2,
"react/sort-comp": 2,
"react/sort-prop-types": 2
},
"settings": {
"pragma": "React",
"version": "15.3.2"
}
}