Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fixtures/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "eslint-playground",
"dependencies": {
"eslint": "4.1.0",
"eslint": "9.26.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This upgrade of eslint from v4.1.0 to v9.26.0 is a significant major version jump and will likely cause breakages.

  1. Peer Dependency Mismatch: The eslint-plugin-react-hooks package, which is used in this playground, has a peerDependency on eslint that does not include version 9. The current range is "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0". This will cause installation errors or warnings.

  2. Breaking Changes in ESLint: ESLint v9 introduced numerous breaking changes, including a new configuration system and significant alterations to the plugin API. The eslint-plugin-react-hooks plugin will need to be updated to be compatible with these new APIs. Without these updates, the plugin will not function correctly with ESLint v9.

Given that this is a test fixture for eslint-plugin-react-hooks, this change will almost certainly break the playground and any related tests. The eslint-plugin-react-hooks package must be updated to support ESLint v9 before this dependency can be upgraded here.

"eslint-plugin-react-hooks": "link:./proxy"
},
"scripts": {
Expand Down
Loading