|
| 1 | +{ |
| 2 | + "parser": "@babel/eslint-parser", |
| 3 | + "env": { |
| 4 | + "browser": true, |
| 5 | + "es6": true |
| 6 | + }, |
| 7 | + "extends": [ |
| 8 | + "airbnb", |
| 9 | + "plugin:react/recommended", |
| 10 | + "prettier", |
| 11 | + "plugin:storybook/recommended" |
| 12 | + ], |
| 13 | + "plugins": [ |
| 14 | + "react", |
| 15 | + "prettier" |
| 16 | + ], |
| 17 | + "rules": { |
| 18 | + "prettier/prettier": "error", |
| 19 | + "no-unused-vars": "warn", |
| 20 | + "no-console": "off", |
| 21 | + "no-underscore-dangle": "off", |
| 22 | + "no-unused-expressions": "off", |
| 23 | + "react/function-component-definition": "off", |
| 24 | + "react/require-default-props": "off", |
| 25 | + "react/jsx-filename-extension": [ |
| 26 | + 1, |
| 27 | + { |
| 28 | + "extensions": [ |
| 29 | + ".js", |
| 30 | + ".jsx" |
| 31 | + ] |
| 32 | + } |
| 33 | + ], |
| 34 | + "arrow-body-style": [ |
| 35 | + "error", |
| 36 | + "as-needed" |
| 37 | + ], |
| 38 | + "import/prefer-default-export": "off", |
| 39 | + "camelcase": "off", |
| 40 | + "no-param-reassign": "off", |
| 41 | + "class-methods-use-this": "off", |
| 42 | + "consistent-return": "off", |
| 43 | + "react/forbid-prop-types": "off", |
| 44 | + "react/no-array-index-key": "off", |
| 45 | + "jsx-a11y/media-has-caption": "off", |
| 46 | + "jsx-a11y/alt-text": "off", |
| 47 | + "no-nested-ternary": "off", |
| 48 | + "no-undef": "error", |
| 49 | + "no-restricted-exports": "off", |
| 50 | + "react/destructuring-assignment": "off", |
| 51 | + "react/jsx-no-useless-fragment": "off", |
| 52 | + "react/jsx-props-no-spreading": "off", |
| 53 | + "import/no-cycle": 0, |
| 54 | + "import/no-extraneous-dependencies": "off", |
| 55 | + "react/no-unknown-property": ["error", { "ignore": ["css"] }] |
| 56 | + } |
| 57 | +} |
0 commit comments