|
2 | 2 | "parser": "@typescript-eslint/parser",
|
3 | 3 | "extends": [
|
4 | 4 | "react-app",
|
5 |
| - "prettier", |
| 5 | + "plugin:prettier/recommended", |
6 | 6 | "prettier/react",
|
7 | 7 | "prettier/@typescript-eslint",
|
8 | 8 | "plugin:react/recommended",
|
| 9 | + "plugin:react-hooks/recommended", |
9 | 10 | "plugin:@typescript-eslint/recommended",
|
10 | 11 | "plugin:@typescript-eslint/recommended-requiring-type-checking"
|
11 | 12 | ],
|
12 |
| - "plugins": ["@typescript-eslint", "react", "react-hooks", "prettier"], |
13 | 13 | "parserOptions": {
|
14 | 14 | "project": "./tsconfig.json"
|
15 | 15 | },
|
16 | 16 | "rules": {
|
17 | 17 | "prettier/prettier": "error",
|
18 | 18 | "react/prop-types": "off",
|
19 | 19 | "no-param-reassign": "off",
|
20 |
| - "react/jsx-filename-extension": [1, { "extensions": [".js", ".ts", "tsx"] }], |
| 20 | + "react/jsx-filename-extension": [ |
| 21 | + 1, |
| 22 | + { |
| 23 | + "extensions": [".js", ".ts", ".tsx"] |
| 24 | + } |
| 25 | + ], |
21 | 26 | "@typescript-eslint/explicit-function-return-type": "off",
|
22 | 27 | "@typescript-eslint/explicit-member-accessibility": "off",
|
23 | 28 | "@typescript-eslint/member-delimiter-style": "off",
|
24 | 29 | "@typescript-eslint/no-explicit-any": "off",
|
25 |
| - "@typescript-eslint/ban-ts-ignore": "off" |
| 30 | + "@typescript-eslint/ban-ts-ignore": "off", |
| 31 | + "@typescript-eslint/ban-ts-comment": "off", |
| 32 | + "@typescript-eslint/explicit-module-boundary-types": "off", |
| 33 | + "@typescript-eslint/no-unsafe-call": "off", |
| 34 | + "@typescript-eslint/no-extra-semi": "off", |
| 35 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 36 | + "@typescript-eslint/no-unsafe-return": "off", |
| 37 | + "@typescript-eslint/no-floating-promises": "off", |
| 38 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 39 | + "@typescript-eslint/unbound-method": "off" |
26 | 40 | },
|
27 | 41 | "overrides": [
|
28 | 42 | {
|
|
0 commit comments