-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
[next@14] Update eslint-plugin-react-hooks to stable v5 #71291
base: 14-2-1
Are you sure you want to change the base?
Conversation
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
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.
Using [email protected]
is a breaking change. If anything, we should backport a downgrade. Existing apps just didn't see the breaking change during upgrade when they were using lockfiles.
@eps1lon Why so? At the moment next@14 has a dependency on Also eslint-plugin-react-hooks@5 supports eslint versions ^3 to ^9 as per https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/package.json Anyway, if v5 is not acceptable, I can modify the PR to downgrade it to ^4.6.2. |
Generally, because it's released in a SemVer major. Here specifically, it's the introduction of a new violation. It's not a critical fix. Technically breaking again if you already relied on the new behavior considering for how long this has been out there. I don't see a path to safely backport nor the urgency to do this. You could always use |
eslint-plugin-react-hooks should be bumped to stable v5 for next@14 as well.
Justification here: #71218 (comment)