Skip to content

Commit 7174abc

Browse files
authored
fix: add the right vitest linter to the eslint config (#6160)
* fix: add the right vitest linter to the eslint config * fix: use @vitest in rules
1 parent 81b3e7d commit 7174abc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.eslintrc.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config = {
1313
ecmaVersion: 'latest',
1414
sourceType: 'module',
1515
},
16-
plugins: ['import', '@typescript-eslint', 'ava', 'vitest'],
16+
plugins: ['import', '@typescript-eslint', 'ava', '@vitest'],
1717

1818
ignorePatterns: [
1919
// TODO: remove when they are migrated to typescript
@@ -66,8 +66,8 @@ const config = {
6666
'ava/no-only-test': 'error',
6767
// 'ava/no-skip-test': 'error', // Uncomment once we remove all skipped tests
6868
// 'vitest/no-commented-out-tests': 'error', // Uncomment once we remove all commented out tests
69-
'vitest/no-disabled-tests': 'error',
70-
'vitest/no-focused-tests': 'error',
69+
'@vitest/no-disabled-tests': 'error',
70+
'@vitest/no-focused-tests': 'error',
7171
},
7272
overrides: [
7373
{

0 commit comments

Comments
 (0)