|
18 | 18 | "jsx": true |
19 | 19 | }, |
20 | 20 | "ecmaVersion": 2018, |
21 | | - "sourceType": "module", |
22 | | - "rules": { |
23 | | - "curly": ["warn", "multi-line", "consistent"], |
24 | | - "no-console": "off", |
25 | | - "no-empty-pattern": "warn", |
26 | | - "no-duplicate-imports": "error", |
27 | | - "import/no-unresolved": "off", |
28 | | - "import/export": "error", |
29 | | - // https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/FAQ.md#eslint-plugin-import |
30 | | - // We recommend you do not use the following import/* rules, as TypeScript provides the same checks as part of standard type checking: |
31 | | - "import/named": "off", |
32 | | - "import/namespace": "off", |
33 | | - "import/default": "off", |
34 | | - "no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], |
35 | | - "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], |
36 | | - "@typescript-eslint/no-use-before-define": "off", |
37 | | - "@typescript-eslint/no-empty-function": "off", |
38 | | - "@typescript-eslint/no-empty-interface": "off", |
39 | | - "@typescript-eslint/no-explicit-any": "off", |
40 | | - "jest/consistent-test-it": ["error", { "fn": "it", "withinDescribe": "it" }] |
41 | | - } |
| 21 | + "sourceType": "module" |
42 | 22 | }, |
43 | 23 | "settings": { |
44 | 24 | "react": { |
|
68 | 48 | } |
69 | 49 | ], |
70 | 50 | "rules": { |
| 51 | + "curly": ["warn", "multi-line", "consistent"], |
| 52 | + "no-console": "off", |
| 53 | + "no-empty-pattern": "warn", |
| 54 | + "no-duplicate-imports": "error", |
71 | 55 | "import/no-unresolved": "off", |
| 56 | + "import/export": "error", |
72 | 57 | "import/named": "off", |
73 | 58 | "import/namespace": "off", |
74 | | - "import/no-named-as-default-member": "off" |
| 59 | + "import/default": "off", |
| 60 | + "import/no-named-as-default-member": "off", |
| 61 | + "no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], |
| 62 | + "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], |
| 63 | + "@typescript-eslint/no-use-before-define": "off", |
| 64 | + "@typescript-eslint/no-empty-function": "off", |
| 65 | + "@typescript-eslint/no-empty-interface": "off", |
| 66 | + "@typescript-eslint/no-explicit-any": "off", |
| 67 | + "jest/consistent-test-it": ["error", { "fn": "it", "withinDescribe": "it" }] |
75 | 68 | } |
76 | 69 | } |
0 commit comments