mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(gate): use the oxlint disable form for the compile-only check
This commit is contained in:
@@ -428,7 +428,7 @@ export function metadataExpressionErrors(entry: Record<string, unknown>, 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) {
|
||||
|
||||
Reference in New Issue
Block a user