-
Notifications
You must be signed in to change notification settings - Fork 3
[Snyk] Security upgrade eslint from 8.27.0 to 10.0.0 #114
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: main
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 |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ | |
| "css-minimizer-webpack-plugin": "^3.2.0", | ||
| "dotenv": "^10.0.0", | ||
| "dotenv-expand": "^5.1.0", | ||
| "eslint": "^8.23.1", | ||
| "eslint": "^10.0.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. ESLint 10 breaks project's legacy eslintrc configurationHigh Severity Upgrading Additional Locations (1) |
||
| "eslint-config-airbnb": "^19.0.4", | ||
| "eslint-config-airbnb-typescript": "^16.2.0", | ||
| "eslint-config-prettier": "^8.5.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.
🔴 ESLint major version bump to v10 breaks all linting due to incompatible legacy
.eslintrcconfig and ESLint 8-era pluginsESLint is bumped from
^8.23.1to^10.0.0(resolving to 10.1.0 in the lockfile), but the project relies entirely on the legacy.eslintrcconfiguration format (.eslintrc:1-37) and theeslintConfigfield inpackage.json:179-181. ESLint 9 deprecated.eslintrcsupport, and ESLint 10 removed it entirely — only flat config (eslint.config.js) is supported. Additionally, all ESLint plugins and configs are pinned to ESLint 8-compatible versions (e.g.,@typescript-eslint/eslint-plugin: ^5.38.0,@typescript-eslint/parser: ^5.38.0,eslint-config-wesbos: ^3.0.2,eslint-plugin-react-hooks: ^4.6.0,eslint-config-react-app: ^7.0.1), which have peer dependencies on ESLint 8 and use the legacy plugin API. This will causeyarn lint,yarn lint:fix, and theeslint-webpack-pluginintegration duringyarn start/yarn buildto fail.Was this helpful? React with 👍 or 👎 to provide feedback.