|
| 1 | +{ |
| 2 | + "extends": "eslint:recommended", |
| 3 | + "env": { |
| 4 | + "browser": true, |
| 5 | + "node": true |
| 6 | + }, |
| 7 | + "plugins": [ |
| 8 | + "react" |
| 9 | + ], |
| 10 | + "ecmaFeatures": { |
| 11 | + "jsx": true |
| 12 | + }, |
| 13 | + "rules": { |
| 14 | + "react/display-name": 1, |
| 15 | + "react/forbid-prop-types": 1, |
| 16 | + "react/jsx-boolean-value": 1, |
| 17 | + "react/jsx-closing-bracket-location": 1, |
| 18 | + "react/jsx-curly-spacing": 1, |
| 19 | + "react/jsx-handler-names": 1, |
| 20 | + "react/jsx-indent-props": 1, |
| 21 | + "react/jsx-key": 1, |
| 22 | + "react/jsx-max-props-per-line": 1, |
| 23 | + "react/jsx-no-bind": 1, |
| 24 | + "react/jsx-no-duplicate-props": 1, |
| 25 | + "react/jsx-no-literals": 1, |
| 26 | + "react/jsx-no-undef": 1, |
| 27 | + "react/jsx-pascal-case": 1, |
| 28 | + "react/jsx-quotes": 1, |
| 29 | + "react/jsx-sort-prop-types": 1, |
| 30 | + "react/jsx-sort-props": 1, |
| 31 | + "react/jsx-uses-react": 1, |
| 32 | + "react/jsx-uses-vars": 1, |
| 33 | + "react/no-danger": 1, |
| 34 | + "react/no-did-mount-set-state": 1, |
| 35 | + "react/no-did-update-set-state": 1, |
| 36 | + "react/no-direct-mutation-state": 1, |
| 37 | + "react/no-multi-comp": 1, |
| 38 | + "react/no-set-state": 1, |
| 39 | + "react/no-unknown-property": 1, |
| 40 | + "react/prefer-es6-class": 1, |
| 41 | + "react/prop-types": 1, |
| 42 | + "react/react-in-jsx-scope": 1, |
| 43 | + "react/require-extension": 1, |
| 44 | + "react/self-closing-comp": 1, |
| 45 | + "react/sort-comp": 1, |
| 46 | + "react/wrap-multilines": 1 |
| 47 | + } |
| 48 | +} |
0 commit comments