Skip to content

Upgrade ESLint and its plugins - #52

Merged
GrahamCampbell merged 1 commit into
mainfrom
upgrade-eslint
Nov 8, 2026
Merged

GrahamCampbell merged 1 commit into
mainfrom
upgrade-eslint

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Contributor

eslint-plugin-import-x 4.18.0, published on 6 November, imports @typescript-eslint/utils at runtime but only declares it as an optional peer dependency, so a fresh install like the one CI does cannot load the ESLint config, and the lint job will fail on the next pull request that changes a JavaScript file. The fix is merged upstream in un-ts/eslint-plugin-import-x#599 but has not been released, so this pins eslint-plugin-import-x to 4.17.1, the last release without the problem, and raises eslint, eslint-plugin-n and globals to the latest releases in their current major versions. @eslint/js and eslint-config-prettier are already on theirs. None of these releases add rules to the recommended configs we extend, so the config is unchanged and the codebase still lints cleanly.

@GrahamCampbell
GrahamCampbell merged commit 9aa8890 into main Nov 8, 2026
4 checks passed
@GrahamCampbell
GrahamCampbell deleted the upgrade-eslint branch November 8, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant