chore(eslint): promote @typescript-eslint/no-unused-vars from warn to error

Codebase is now clean for this rule, so enforcing it as an error prevents
regressions. Intentionally unused bindings remain exempt via the \`^_\` prefix
convention already documented in the rule options.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-23 17:42:03 -07:00
parent cfa444700f
commit 30d35b101e

View File

@@ -112,8 +112,10 @@ export default tseslint.config(
}, },
}, },
rules: { rules: {
// Ratcheted from warn → error once the codebase was clean.
// Use `_`-prefix to intentionally declare an unused binding.
"@typescript-eslint/no-unused-vars": [ "@typescript-eslint/no-unused-vars": [
"warn", // Warning for unused vars "error",
{ {
vars: "all", vars: "all",
args: "after-used", args: "after-used",