|
| 1 | +{ |
| 2 | + "parser": "babel-eslint", |
| 3 | + "extends": "airbnb", |
| 4 | + "parserOptions": { |
| 5 | + "ecmaVersion": 8, |
| 6 | + "sourceType": "module", |
| 7 | + "ecmaFeatures": { |
| 8 | + "jsx": true, |
| 9 | + "experimentalObjectRestSpread": true |
| 10 | + } |
| 11 | + }, |
| 12 | + "env": { |
| 13 | + "es6": true, |
| 14 | + "browser": true, |
| 15 | + "node": true, |
| 16 | + "mocha": true |
| 17 | + }, |
| 18 | + "plugins": [ |
| 19 | + "react", |
| 20 | + "jsx-a11y", |
| 21 | + "import" |
| 22 | + ], |
| 23 | + "rules": { |
| 24 | + "brace-style": ["error", "stroustrup"], |
| 25 | + "comma-dangle": ["error", "always-multiline"], |
| 26 | + "func-names": ["error", "as-needed"], |
| 27 | + "max-len": "off", |
| 28 | + "no-param-reassign": ["error", { "props": false }], |
| 29 | + "no-plusplus": "off", |
| 30 | + "no-restricted-syntax": "off", |
| 31 | + "quote-props": ["error", "consistent"], |
| 32 | + "arrow-parens": ["error", "always"], |
| 33 | + "arrow-body-style": "off", |
| 34 | + "react/prop-types": ["error", { "ignore": ["children", "className"] }], |
| 35 | + "react/require-default-props": "off", |
| 36 | + "react/jsx-no-target-blank": "error", |
| 37 | + "react/jsx-filename-extension": ["warn", { "extensions": [".js"] }], |
| 38 | + "react/jsx-closing-bracket-location": ["error", "tag-aligned"], |
| 39 | + "import/no-mutable-exports": "off", |
| 40 | + "import/no-unresolved": "off", |
| 41 | + "import/extensions": ["error", "never", { "scss": "always" }], |
| 42 | + "import/no-absolute-path": "off", |
| 43 | + "import/no-extraneous-dependencies": "off", |
| 44 | + "import/no-named-as-default": "off" |
| 45 | + } |
| 46 | +} |
0 commit comments