|
1 | 1 | { |
2 | 2 | "plugins": ["jest"], |
3 | 3 | "extends": [ |
| 4 | + "@doist/eslint-config/recommended-requiring-type-checking", |
| 5 | + "@doist/eslint-config/react", |
4 | 6 | "react-app", |
5 | | - "prettier/@typescript-eslint", |
6 | | - "plugin:prettier/recommended", |
7 | | - "plugin:jest/recommended", |
8 | | - "prettier", |
9 | | - "plugin:@typescript-eslint/eslint-recommended", |
10 | | - "plugin:@typescript-eslint/recommended", |
11 | | - "plugin:@typescript-eslint/recommended-requiring-type-checking", |
12 | | - "prettier/@typescript-eslint" |
| 7 | + "plugin:jest/recommended" |
13 | 8 | ], |
14 | 9 | "parser": "@typescript-eslint/parser", |
15 | 10 | "parserOptions": { |
|
30 | 25 | "webpack.config.*" |
31 | 26 | ], |
32 | 27 | "rules": { |
33 | | - "prettier/prettier": "error", |
34 | | - "react/no-did-mount-set-state": "error", |
35 | | - "react/no-did-update-set-state": "error", |
| 28 | + "func-style": "off", |
| 29 | + "import/no-default-export": "off", // Legacy API. |
36 | 30 | "react/no-find-dom-node": "off", |
37 | 31 | "@typescript-eslint/explicit-module-boundary-types": "off", |
38 | 32 | "@typescript-eslint/ban-ts-comment": "off" |
|
43 | 37 | // jest mocks are hard to type, allow incomplete types in tests. |
44 | 38 | "files": ["stories/**/*", "*.test.*"], |
45 | 39 | "rules": { |
| 40 | + "react/no-unescaped-entities": "off", |
46 | 41 | "@typescript-eslint/no-unsafe-member-access": "off", |
47 | 42 | "@typescript-eslint/no-unsafe-call": "off", |
48 | 43 | "@typescript-eslint/no-unsafe-assignment": "off", |
|
0 commit comments