Skip to content

Commit 673b4f4

Browse files
author
Max
committed
feat(lint): add no-unused-vars ratchet scoped to src+open-sse+tests
Bar NEW unused vars/args/catches outside the `_` escape hatch via @typescript-eslint/no-unused-vars (args:"all", caughtErrors:"all", ignoreRestSiblings), scoped to src/**/*.{ts,tsx,js,jsx} + open-sse/**/*.ts + tests/**/*.{ts,tsx,mjs} — scripts/, bin/ and docs/ stay out of scope. Pre-existing violations (1393 across 1251 files) are frozen in config/quality/eslint-suppressions.json via --suppress-rule, same pattern as #7879 (toNumber tier-by-tier). Only genuinely NEW unused bindings fail lint from now on. Also untracks two docs/superpowers/* planning files that slipped into the tree via #11213 while being gitignored; their presence makes the tracked-artifacts pre-commit hook reject every new commit. Refs #9985
1 parent 968fa96 commit 673b4f4

5 files changed

Lines changed: 3852 additions & 572 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- **chore(lint):** ratchet `@typescript-eslint/no-unused-vars` scoped to `src/` + `open-sse/` + `tests/` (`args: "all"`, `_`-prefix escape hatch) and freeze the 1393 pre-existing violations via bulk suppressions — same pattern as the #7879 `toNumber` ratchet. New unused bindings now fail lint. ([#PRNUM](https://github.com/diegosouzapw/OmniRoute/pull/PRNUM))

0 commit comments

Comments
 (0)