Skip to content

Blocked: eslint v10 and typescript v7 incompatible with @typescript-eslint #78

Description

@Samurai33

Problem

Two bumps in Dependabot's dev-deps group (PR #66) are blocked by the same root cause: `@typescript-eslint` (bundled via `eslint-config-next`) does not yet support either:

  • `eslint` v10 (confirmed: throws `TypeError: scopeManager.addGlobals is not a function` at lint time — an internal API removed in ESLint 10 that `@typescript-eslint`'s scope analysis still calls)
  • `typescript` v7 (confirmed: even the latest `@typescript-eslint/typescript-estree` release, including alpha prereleases, declares `peerDependencies: { typescript: ">=4.8.4 <6.1.0" }` — v7 is outside the supported range entirely, not a version-pinning issue)

Resolution

Nothing to fix on our end — this is upstream tooling lag. Re-check when `@typescript-eslint` ships a release supporting TS 7 / ESLint 10, then bump both together (they need to move in lockstep with our lint setup, see #11/#61).

Kept `eslint` on `^9.39.5` and `typescript` on `^5.9.3` for now (see #77 for the other 2 deps in that same Dependabot group, which were safe to bump independently).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions