Skip to content

Commit 3fb2d70

Browse files
committed
fix
1 parent f920140 commit 3fb2d70

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

oxlint.config.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,18 @@ export default defineConfig({
134134
"unicorn/switch-case-braces": ["error", "avoid"],
135135

136136
// ── eslint-plugin-vitest (built-in) ──
137+
"vitest/consistent-test-it": ["error", { fn: "it" }],
137138
"vitest/no-importing-vitest-globals": "off",
139+
"vitest/no-standalone-expect": [
140+
"error",
141+
{ additionalTestBlockFunctions: ["it.for"] },
142+
],
143+
"vitest/prefer-called-once": "off",
144+
"vitest/prefer-to-be-falsy": "off",
145+
"vitest/prefer-to-be-truthy": "off",
138146
"vitest/require-hook": "off",
147+
"vitest/require-mock-type-parameters": "off",
148+
"vitest/require-test-timeout": "off",
139149

140150
// ── @tanstack/eslint-plugin-query (jsPlugin) ──
141151
"@tanstack/query/exhaustive-deps": "error",
@@ -228,14 +238,6 @@ export default defineConfig({
228238
"typescript/no-unsafe-argument": "off",
229239
"typescript/no-unsafe-assignment": "off",
230240
"typescript/no-unsafe-type-assertion": "off",
231-
"vitest/consistent-test-it": ["error", { fn: "it" }],
232-
"vitest/prefer-called-once": "off",
233-
"vitest/prefer-to-be-falsy": "off",
234-
"vitest/prefer-to-be-truthy": "off",
235-
"vitest/no-standalone-expect": [
236-
"error",
237-
{ additionalTestBlockFunctions: ["it.for"] },
238-
],
239241
},
240242
},
241243
{

0 commit comments

Comments
 (0)