From 234a1b37c1b8f496398eb73c46ef14232c08a7f1 Mon Sep 17 00:00:00 2001 From: Huanqi Cao Date: Tue, 11 Aug 2026 19:07:56 +0800 Subject: [PATCH] fix(gate): use the oxlint disable form for the compile-only check --- scripts/verify-cordis-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify-cordis-config.ts b/scripts/verify-cordis-config.ts index 3ecd22bd99..bb41c26a9f 100644 --- a/scripts/verify-cordis-config.ts +++ b/scripts/verify-cordis-config.ts @@ -428,7 +428,7 @@ export function metadataExpressionErrors(entry: Record, path: s function disabledExpressionProblem(expression: string): string | undefined { try { // Compilation only — the constructor never executes the body. - // eslint-disable-next-line no-new-func + // oxlint-disable-next-line typescript/no-implied-eval new Function(`return (${expression})`) return undefined } catch (error) {