|
| 1 | +{ |
| 2 | + "extends": "eslint:recommended", |
| 3 | + |
| 4 | + "rules": { |
| 5 | + "indent": [2, 4, {"SwitchCase": 1}], |
| 6 | + "quotes": [1, "single"], |
| 7 | + "strict": [1, "global"], |
| 8 | + "global-strict": 0, |
| 9 | + "brace-style": [2, "1tbs"], |
| 10 | + "no-sparse-arrays": [1], |
| 11 | + "eqeqeq": [2], |
| 12 | + "no-else-return": [2], |
| 13 | + "no-extra-bind": [2], |
| 14 | + "curly": [2, "all"], |
| 15 | + "no-multi-spaces": [2], |
| 16 | + "no-invalid-this": [2], |
| 17 | + "no-useless-escape": [1], |
| 18 | + "no-useless-concat": [1], |
| 19 | + "no-useless-constructor": [1], |
| 20 | + "array-bracket-spacing": [1, "never"], |
| 21 | + "block-spacing": [1, "always"], |
| 22 | + "camelcase": [1], |
| 23 | + "comma-dangle": [1], |
| 24 | + "space-before-blocks": [1], |
| 25 | + "space-in-parens": [2, "never"], |
| 26 | + "no-multiple-empty-lines": [1], |
| 27 | + "eol-last": [2], |
| 28 | + "semi": [2], |
| 29 | + "react/display-name": 1, |
| 30 | + "react/jsx-boolean-value": 1, |
| 31 | + "react/jsx-no-undef": 1, |
| 32 | + "jsx-quotes": [1, "prefer-single"], |
| 33 | + "react/sort-prop-types": 1, |
| 34 | + "react/jsx-sort-props": 0, |
| 35 | + "react/jsx-uses-react": 1, |
| 36 | + "react/jsx-uses-vars": 1, |
| 37 | + "react/no-danger": 1, |
| 38 | + "react/no-did-mount-set-state": 1, |
| 39 | + "react/no-did-update-set-state": 1, |
| 40 | + "react/no-multi-comp": 1, |
| 41 | + "react/no-unknown-property": 1, |
| 42 | + "react/prop-types": 1, |
| 43 | + "react/react-in-jsx-scope": 1, |
| 44 | + "react/require-extension": 1, |
| 45 | + "react/self-closing-comp": 1, |
| 46 | + "react/sort-comp": 1, |
| 47 | + "react/wrap-multilines": 1 |
| 48 | + }, |
| 49 | + |
| 50 | + "parser": "babel-eslint", |
| 51 | + |
| 52 | + "env": { |
| 53 | + "browser": true, |
| 54 | + "node": true, |
| 55 | + "es6": true |
| 56 | + }, |
| 57 | + |
| 58 | + "plugins": ["react"], |
| 59 | + |
| 60 | + "ecmaFeatures": { |
| 61 | + "jsx": true, |
| 62 | + "modules": false |
| 63 | + } |
| 64 | +} |
0 commit comments