|
1 | 1 | {
|
2 |
| - "extends": ["react-app"], |
| 2 | + "extends": [ |
| 3 | + "eslint:recommended", |
| 4 | + "plugin:@typescript-eslint/recommended", |
| 5 | + "plugin:react/recommended", |
| 6 | + "plugin:react-hooks/recommended" |
| 7 | + ], |
| 8 | + "settings": { |
| 9 | + "react": { |
| 10 | + "version": "detect" |
| 11 | + } |
| 12 | + }, |
3 | 13 | "rules": {
|
4 | 14 | "brace-style": ["error", "1tbs"],
|
5 | 15 | "comma-spacing": ["error", { "before": false, "after": true }],
|
|
21 | 31 | "arrow-spacing": "error",
|
22 | 32 | "space-infix-ops": "error",
|
23 | 33 | "react/no-unused-prop-types": "error",
|
24 |
| - "react/jsx-equals-spacing": ["error", "never"] |
| 34 | + "react/jsx-equals-spacing": ["error", "never"], |
| 35 | + "react/react-in-jsx-scope": "off", |
| 36 | + "@typescript-eslint/no-explicit-any": "off", |
| 37 | + "no-case-declarations": "off", |
| 38 | + "react/no-children-prop": "off", |
| 39 | + "prefer-const": "off", |
| 40 | + "react/prop-types": "off", |
| 41 | + "@typescript-eslint/no-unused-vars": "off", |
| 42 | + "no-extra-boolean-cast": "off", |
| 43 | + "@typescript-eslint/ban-types": "off", |
| 44 | + "no-undef": "off", |
| 45 | + "no-empty": "off", |
| 46 | + "react/display-name": "off", |
| 47 | + "@typescript-eslint/ban-ts-comment": "off", |
| 48 | + "no-async-promise-executor": "off" |
25 | 49 | },
|
26 | 50 | "overrides": [
|
27 | 51 | {
|
|
0 commit comments