Skip to content

Commit 1b6d461

Browse files
committed
disable jest/no-conditional-in-test
1 parent 44cc050 commit 1b6d461

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.oxlintrc.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"no-magic-numbers": "off",
2020
"no-ternary": "off",
2121
"no-warning-comments": "off",
22+
"jest/no-conditional-in-test": "off",
2223
"typescript/array-type": ["error", { "default": "generic", "readonly": "generic" }],
2324
"typescript/ban-types": "off", // deprecated, replaced by no-unsafe-function-type and no-wrapper-object-types
2425
"typescript/consistent-type-imports": "error",

test/index.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,6 @@ describe.concurrent("changeset-bot", () => {
284284
} as never);
285285

286286
const commentRequests = requests.filter(
287-
// https://github.com/oxc-project/oxc/issues/20894
288-
// oxlint-disable-next-line jest/no-conditional-in-test
289287
(request) => request.path.includes("/comments") && request.method === "PATCH",
290288
);
291289

0 commit comments

Comments
 (0)