Skip to content

Commit 1b93f38

Browse files
committed
fix lint
1 parent eef5c48 commit 1b93f38

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

oxlint.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export default defineConfig({
7272
"eslint/no-magic-numbers": "off",
7373
"eslint/no-ternary": "off",
7474
"eslint/no-undefined": "off",
75+
"eslint/no-underscore-dangle": "off",
7576
"eslint/no-void": ["error", { allowAsStatement: true }],
7677
"eslint/require-await": "off",
7778
"eslint/sort-imports": ["error", { ignoreDeclarationSort: true }],
@@ -108,6 +109,7 @@ export default defineConfig({
108109
"promise/prefer-await-to-callbacks": "off",
109110

110111
// ── eslint-plugin-react (built-in) ──
112+
"react/forbid-component-props": "off",
111113
"react/jsx-filename-extension": ["error", { extensions: [".tsx"] }],
112114
"react/jsx-max-depth": "off",
113115
"react/jsx-props-no-spreading": "off",
@@ -135,8 +137,10 @@ export default defineConfig({
135137
"unicorn/switch-case-braces": ["error", "avoid"],
136138

137139
// ── eslint-plugin-vitest (built-in) ──
140+
"jest/no-hooks": "off",
138141
"jest/prefer-importing-jest-globals": "off",
139142
"jest/prefer-ending-with-an-expect": "off",
143+
"jest/prefer-expect-assertions": "off",
140144

141145
"vitest/consistent-test-it": ["error", { fn: "it" }],
142146
"vitest/no-hooks": "off",
@@ -146,6 +150,7 @@ export default defineConfig({
146150
{ additionalTestBlockFunctions: ["it.for"] },
147151
],
148152
"vitest/prefer-called-once": "off",
153+
"vitest/prefer-expect-assertions": "off",
149154
"vitest/prefer-importing-vitest-globals": "off",
150155
"vitest/prefer-lowercase-title": "off",
151156
"vitest/prefer-to-be-falsy": "off",

0 commit comments

Comments
 (0)