Skip to content

Commit 6cb1374

Browse files
committed
fix: remove conflict with another rule
1 parent 35ae431 commit 6cb1374

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ const createConfig = <R extends Linter.RulesRecord>(rules: R) => (
7373
[`vitest/${ruleName}`]: rules[ruleName]
7474
}
7575
}, {})) as {
76-
[K in keyof R as `vitest/${Extract<K, string>}`]: R[K]
77-
}
76+
[K in keyof R as `vitest/${Extract<K, string>}`]: R[K]
77+
}
7878

7979
const createConfigLegacy = (rules: Record<string, string>) => ({
8080
plugins: ['@vitest'],
@@ -149,7 +149,7 @@ const allRules = {
149149
[validDescribeCallbackName]: 'warn',
150150
[requireLocalTestContextForConcurrentSnapshotsName]: 'warn',
151151
[noImportNodeTestName]: 'warn',
152-
[preferStrictBooleanMatchersName]: 'warn',
152+
[preferStrictBooleanMatchersName]: 'off',
153153
[requireMockTypeParametersName]: 'warn'
154154
} as const
155155

0 commit comments

Comments
 (0)