Repository navigation
Description
Description
eslint v10 (#53) cannot land as a dependency bump. ESLint 9 made flat config
(eslint.config.*) the default; ESLint 10 removed the legacy .eslintrc path
entirely, and this repo still ships .eslintrc.json:
ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
From ESLint v9.0.0, the default configuration file is now eslint.config.js.
ESLINT_USE_FLAT_CONFIG=false no longer works either — the escape hatch is gone in v10.
Why it is unblocked now
Until #57 landed, there was a second, harder blocker: the pinned
@[email protected] hard-crashed under ESLint 10, because its bundled
[email protected] produces a scope manager that ESLint 10's SourceCode.finalize()
no longer accepts:
TypeError: scopeManager.addGlobals is not a function
at addDeclaredGlobals (eslint/lib/languages/js/source-code/source-code.js:221:15)
#57 bumped typescript-eslint to 8.64.0, whose peer range is
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0. So the plugin side is ready; only the config
format is left.
Scope
- Migrate
.eslintrc.json→ flat config (eslint.config.mjs), preserving the current
rule set exactly:eslint:recommended+plugin:@typescript-eslint/recommended,
with@typescript-eslint/no-explicit-any: warnand
@typescript-eslint/explicit-function-return-type: off, and thenode/es6/
jestenvironments (which becomeglobalsin flat config). - Bump
eslint8.57→10.x. - No behavior change intended. Any new lint findings are from the
@typescript-eslint6 → 8 rule-set change that already landed in chore(deps): batch six Renovate dev-dependency updates #57, and should be
triaged explicitly rather than silently suppressed.
Node 24 (the dev-shell and the action runtime) satisfies ESLint 10's engines
(^20.19.0 || ^22.13.0 || >=24).
Notes
Renovate's #53 is additionally DOA as-is: it bumped package.json without
regenerating package-lock.json (its own npm install hit the typescript-eslint 6
peer conflict), so npm ci fails before ESLint even runs —
Invalid: lock file's [email protected] does not satisfy [email protected]. This issue
supersedes it.
Related
- build(npm): update dependency eslint to v10 - abandoned #53 — the Renovate PR this replaces
- chore(deps): batch six Renovate dev-dependency updates #57 — landed
typescript-eslintv8, the prerequisite
Activity
build(npm): migrate ESLint to flat config and bump to v10 (#65)
c-vigo commentedon Jul 14, 2026
Done — implemented by #65, merged into
dev..eslintrc.jsonis replaced byeslint.config.mjs,eslintis on v10, and@typescript-eslint/eslint-plugin+@typescript-eslint/parserare consolidated into thetypescript-eslintmeta package (the canonical v8 flat-config entry point). The rule set is a faithful port — same base configs, same two overrides, and thenode/es6/jestenvironments re-expressed aslanguageOptions.globals.Verified before merge:
npx eslint srclints all 8 source files with rules firing (confirmed with a negative control — an injected violation was caught, so the config is not silently linting nothing);tscclean; 84/84 tests pass; fullpreksuite green.Closing manually: #65 merged into
dev, not the default branch, so GitHub'sCloses #64keyword did not fire. That applies to every issue resolved by a PR intodevin this flow.Follow-up spun out of this work: #66 —
npm run lintandnpm run formatonly ever check one file, becauseshhas no globstar andsrc/**/*.tscollapses tosrc/*/*.ts. The production source has never been linted. That is pre-existing and deliberately not folded in here.chore: release 0.3.0 (#78)