|
| 1 | +{ |
| 2 | + "settings": { |
| 3 | + "react": { |
| 4 | + "version": "detect" |
| 5 | + } |
| 6 | + }, |
| 7 | + "env": { |
| 8 | + "browser": true |
| 9 | + }, |
| 10 | + "extends": ["plugin:react/recommended", "prettier"], |
| 11 | + "parser": "@typescript-eslint/parser", |
| 12 | + "parserOptions": { |
| 13 | + "ecmaFeatures": { |
| 14 | + "jsx": true |
| 15 | + }, |
| 16 | + "ecmaVersion": 12, |
| 17 | + "sourceType": "module" |
| 18 | + }, |
| 19 | + "plugins": ["react", "@typescript-eslint", "react-hooks", "prettier"], |
| 20 | + "rules": { |
| 21 | + "react-hooks/rules-of-hooks": "error", |
| 22 | + "react/display-name": "off", |
| 23 | + "react-hooks/exhaustive-deps": "off", |
| 24 | + "prettier/prettier": [ |
| 25 | + "error", |
| 26 | + { |
| 27 | + "endOfLine": "auto" |
| 28 | + } |
| 29 | + ], |
| 30 | + "semi": "off", |
| 31 | + "no-use-before-define": "off", |
| 32 | + "comma-dangle": "off", |
| 33 | + "space-before-function-paren": "off", |
| 34 | + "multiline-ternary": "off", |
| 35 | + "promise/param-names": "off", |
| 36 | + "no-debugger": "off", |
| 37 | + "react/prop-types": "off", |
| 38 | + "no-extra-parens": "off", |
| 39 | + "eol-last": "off", |
| 40 | + "jsx-quotes": "off", |
| 41 | + "space-before-blocks": "off", |
| 42 | + "max-len": "off", |
| 43 | + "strict": "off", |
| 44 | + "no-promise-executor-return": "off", |
| 45 | + "no-bitwise": "off", |
| 46 | + "no-return-assign": "off", |
| 47 | + "consistent-return": "off", |
| 48 | + "global-require": "off", |
| 49 | + "import/no-extraneous-dependencies": "off", |
| 50 | + "import/no-unresolved": "off", |
| 51 | + "no-console": "off", |
| 52 | + "import/extensions": "off", |
| 53 | + "no-nested-ternary": "off", |
| 54 | + "array-callback-return": "off", |
| 55 | + "no-shadow": "off", |
| 56 | + "no-inner-declarations": "off", |
| 57 | + "no-unused-expressions": "off", |
| 58 | + "no-unused-vars": "off", |
| 59 | + "no-plusplus": "off" |
| 60 | + } |
| 61 | +} |
0 commit comments