-
Notifications
You must be signed in to change notification settings - Fork 286
chore(deps-dev): bump eslint from 8.57.1 to 9.26.0 #5680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: unstable
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -123,7 +123,7 @@ | |
| "babel-loader": "^10.0.0", | ||
| "circular-dependency-plugin": "^5.2.0", | ||
| "css-loader": "7.1.2", | ||
| "eslint": "^8.57.0", | ||
| "eslint": "^9.26.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blocking: This bumps eslint to v9 (major), but the project's linting pipeline runs through Meanwhile, the project's This upgrade adds ~15+ new transitive dependencies (including Recommend closing this PR. The eslint@9 migration should be coordinated with a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: This major version bump (v8 → v9) is safe today because However, this creates a latent version mismatch worth being aware of:
This is fine to merge as-is, but consider tracking the eslintrc → flat config migration as future work. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blocking: This bumps eslint from 8.x to 9.x (major version), but the project's linting infrastructure is not ready for it:
A proper ESLint 9 migration requires updating There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blocking: This is a major version bump (8.x → 9.x) that requires a config migration. ESLint 9 defaults to the new flat config format ( CI passes because Merging this would result in:
This update should be coordinated with a flat config migration ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: This bumps ESLint from 8.x to 9.x (major), but the project's linting is actually handled by Two options to consider:
|
||
| "eslint-config-prettier": "^10.1.8", | ||
| "eslint-import-resolver-webpack": "0.13.10", | ||
| "eslint-plugin-import": "^2.31.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blocking: This bumps eslint from 8.x to 9.x — a major version with significant breaking changes (flat config default, removed APIs, dropped formatters, changed rule defaults). No config migration was performed:
.eslintrc.js(not the neweslint.config.jsflat config)ESLINT_USE_FLAT_CONFIG=falseenvironment variable is setCI passes only because
kolibri-format@1.0.1bundles its owneslint@8.57.1— the top-leveleslint@9.26.0is never actually invoked. This creates a confusing split-dependency state where the declared version doesn't match what's used.Recommend closing this PR. When the project is ready to migrate to ESLint 9, it should be done as a coordinated effort that includes:
kolibri-formatto support ESLint 9.eslintrc.jstoeslint.config.js(or settingESLINT_USE_FLAT_CONFIG=false)