|
6 | 6 | "plugin:react/recommended", |
7 | 7 | "plugin:react/jsx-runtime", |
8 | 8 | "plugin:prettier/recommended", |
9 | | - "plugin:no-unsanitized/DOM" |
| 9 | + "plugin:no-unsanitized/DOM", |
| 10 | + "plugin:@vitest/legacy-recommended" |
10 | 11 | ], |
11 | 12 | "parserOptions": { |
12 | 13 | "ecmaVersion": "latest", |
|
15 | 16 | "jsx": true |
16 | 17 | } |
17 | 18 | }, |
18 | | - "plugins": ["unicorn", "react-hooks", "no-unsanitized", "header", "import", "simple-import-sort"], |
| 19 | + "plugins": ["unicorn", "react-hooks", "no-unsanitized", "header", "import", "simple-import-sort", "@vitest"], |
19 | 20 | "rules": { |
20 | 21 | "@typescript-eslint/no-unused-vars": "error", |
21 | 22 | "@typescript-eslint/consistent-type-definitions": ["error", "interface"], |
22 | 23 | "@typescript-eslint/no-empty-function": "off", |
23 | 24 | "@typescript-eslint/no-namespace": "off", |
24 | 25 | "@typescript-eslint/no-non-null-assertion": "off", |
| 26 | + "@typescript-eslint/no-explicit-any": "warn", |
25 | 27 | "react/display-name": "off", |
26 | 28 | "react/no-danger": "error", |
27 | 29 | "react/no-unstable-nested-components": [ |
|
79 | 81 | "noUselessIndex": true |
80 | 82 | } |
81 | 83 | ], |
82 | | - "simple-import-sort/imports": "warn" |
| 84 | + "simple-import-sort/imports": "warn", |
| 85 | + "@vitest/no-focused-tests": "error" |
83 | 86 | }, |
84 | 87 | "settings": { |
85 | 88 | "react": { |
|
0 commit comments