-
-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Security upgrade eslint from 7.32.0 to 9.26.0 #460
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: master
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -39,7 +39,7 @@ | |||||
| "@types/node": "^16.11.6", | ||||||
| "@typescript-eslint/eslint-plugin": "^4.33.0", | ||||||
| "@typescript-eslint/parser": "^4.31.1", | ||||||
| "eslint": "^7.5.0", | ||||||
| "eslint": "^9.26.0", | ||||||
|
||||||
| "eslint": "^9.26.0", | |
| "eslint": "^7.32.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.
Upgrading
eslintto a new major version (v9) introduces breaking changes. The current versions of@typescript-eslint/parser(^4.31.1on line 41) and@typescript-eslint/eslint-plugin(^4.33.0on line 40) are not compatible with ESLint v9. This will cause thelintscript to fail.To resolve this, you must also upgrade these packages to a version compatible with ESLint v9. As of now, this requires using
v8.xof the@typescript-eslintpackages, which are currently in an alpha state.You will need to update your dependencies to use these alpha versions, for example:
Please be aware of the potential instability of using alpha releases. You may also need to update your ESLint configuration file due to breaking changes in these packages.