feat: enable oxlint suspicious category, fix 24 violations (#22727)

This commit is contained in:
Kit Langton
2026-04-15 22:53:10 -04:00
committed by GitHub
parent 665a843086
commit 702f741267
20 changed files with 49 additions and 22 deletions

View File

@@ -111,6 +111,7 @@ function parseToolParams(input?: string) {
} catch (evalError) {
throw new Error(
`Failed to parse --params. Use JSON or a JS object literal. JSON error: ${jsonError}. Eval error: ${evalError}.`,
{ cause: evalError },
)
}
}