|
12 | 12 | "BigInt64Array": "readonly", |
13 | 13 | "BigUInt64Array": "readonly" |
14 | 14 | }, |
15 | | - "env": { |
16 | | - "jest/globals": true |
17 | | - }, |
18 | | - |
19 | | - "plugins": [ "jest", "react", "react-hooks" ], |
| 15 | + "plugins": [ "react", "react-hooks", "@vitest/eslint-plugin" ], |
20 | 16 | "extends": [ |
21 | 17 | "eslint:recommended", |
22 | | - "plugin:jest/recommended", |
23 | 18 | "plugin:react/recommended", |
24 | 19 | "plugin:react-hooks/recommended", |
25 | | - "./node_modules/eslint-config-mdcs/index.js" |
| 20 | + "./node_modules/eslint-config-mdcs/index.js", |
| 21 | + "plugin:@vitest/legacy-recommended" |
26 | 22 | ], |
27 | | - |
| 23 | + "env": { |
| 24 | + "@vitest/env": true |
| 25 | + }, |
28 | 26 | "settings": { |
29 | 27 | "react": { |
30 | 28 | "version": "detect" |
|
47 | 45 | "ignoreMemberSort": true, |
48 | 46 | "memberSyntaxSortOrder": [ "none", "all", "multiple", "single" ], |
49 | 47 | "allowSeparatedGroups": false |
50 | | - } ] |
| 48 | + } ], |
| 49 | + |
| 50 | + "@vitest/no-disabled-tests": "warn", |
| 51 | + "@vitest/no-focused-tests": "error", |
| 52 | + "@vitest/no-identical-title": "error", |
| 53 | + "@vitest/prefer-to-have-length": "warn", |
| 54 | + "@vitest/valid-expect": "error", |
| 55 | + "@vitest/valid-describe-callback": 0 |
51 | 56 | }, |
52 | 57 | "overrides": [ { |
53 | 58 | "files": [ "*.ts" ], |
|
0 commit comments