Skip to content

Tooling: ~20 latent no-unnecessary-type-assertion errors in src/ held hostage by the bundled typescript-eslint bump in the dev-dependencies group #381

Open

Description

@bbopen

Finding

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)

Proposed fix (proposal only)

Two-part, both small:

  1. 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.
  2. 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

  1. added
    area:tooling
    optimization
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolingoptimization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions