You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tooling: ~20 latent no-unnecessary-type-assertion errors in src/ held hostage by the bundled typescript-eslint bump in the dev-dependencies group #381
Dependabot PR #375 (dev-dependencies group, 15 pkgs) fails the required lint job with ~20 @typescript-eslint/no-unnecessary-type-assertion errors in src/ — errors that do NOT exist on main with the current plugin. The group bumps @typescript-eslint/eslint-plugin + parser 8.58.0 → 8.72.1, and the newer rule version detects assertions main has been carrying.
Evidence (CI logs, run 42606504856, 2026-11-09)
lint job 129123753577 fails; files: src/config/index.ts (~73), src/core/annotation-parser.ts (~37–49, 5 errors), src/core/generator.ts (~1756/1795/1814), src/runtime/validators.ts (multiple, ~84–1324), src/utils/runtime.ts (~62–147, 5 errors). Message: "This assertion is unnecessary since the receiver accepts the original type of the expression."
Clear the ~20 violations on main (drop the redundant as/non-null assertions; eslint --fix handles a chunk, the rest are one-line deletions). Do this on a normal branch, not via the dependabot PR.
Optionally give @typescript-eslint/* its own dependabot group so plugin upgrades fail/succeed independently of the other 13 dev-deps.
Impact
Unblocks the only open dev-dependencies group PR and every future weekly one from a spurious lint red gate; removes ~20 dead assertions from hot generator/runtime paths (generator.ts alone has 3 in the codegen loop).
Effort: small (~1–2 h incl. re-running CI; the deletions are mechanical but should get a full test pass since one of these files is the codegen hot path).
Activity