[eslint-plugin-react-hooks] Add ESLint v10 support#35720
[eslint-plugin-react-hooks] Add ESLint v10 support#35720azat-io wants to merge 1 commit intofacebook:mainfrom
Conversation
|
Hi @azat-io! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
aa2e42c to
1cf0bff
Compare
1cf0bff to
756c229
Compare
756c229 to
e5dff80
Compare
Summary
ESLint v10.0.0 was released on February 7, 2026. The current
peerDependenciesforeslint-plugin-react-hooksonly allows up to^9.0.0, which causes peer dependency warnings when installing with ESLint v10.This PR:
^10.0.0to the eslint peer dependency rangeeslint-v10to devDependencies for testingeslint-v10e2e fixture (based on the existingeslint-v9fixture)ESLint v10's main breaking changes (removal of legacy eslintrc config, deprecated context methods) don't affect this plugin - flat config is already supported since v7.0.0, and the deprecated APIs already have fallbacks in place.
How did you test this change?
Ran the existing unit test suite:
All 5082 tests passed.