diff --git a/scripts/constants.ts b/scripts/constants.ts index 452d76e..7db514c 100644 --- a/scripts/constants.ts +++ b/scripts/constants.ts @@ -32,6 +32,7 @@ export const viteTestCompatibleRules = [ 'no-hooks', 'no-identical-title', 'no-interpolation-in-snapshots', + 'no-mocks-import', 'no-restricted-jest-methods', 'no-restricted-matchers', 'no-standalone-expect', diff --git a/src/generated/rules.ts b/src/generated/rules.ts index b11e42f..035abd0 100644 --- a/src/generated/rules.ts +++ b/src/generated/rules.ts @@ -306,6 +306,7 @@ export const styleRules = [ 'vitest/no-hooks', 'vitest/no-identical-title', 'vitest/no-interpolation-in-snapshots', + 'vitest/no-mocks-import', 'vitest/no-restricted-jest-methods', 'vitest/no-restricted-matchers', 'vitest/no-test-prefixes',