facebook/react [email protected][email protected]

eslint-plugin-react-hooks 7.1.1 is a narrow compatibility fix for a regression in 7.1.0. If you reference component-hook-factories in a manual ESLint config, this release restores that rule so upgrading stops failing.

What's new

  • Adds back component-hook-factories as a deprecated no-op rule for backwards compatibility. This is meant for setups that copied the older manual config example and started erroring on 7.1.0 after the rule was removed; the rule now exists again so those configs keep working while doing nothing. (#36307)

Fixes

  • Fixes errors in ESLint configs that still reference component-hook-factories, which 7.1.0 had accidentally removed. (#36307)

Contributors

  • @mofeiZ