react-hooks-js/component-hook-factories
Deprecated: this rule has been removed in 7.1.0.
- Category: React Compiler
- Severity: error
- Source:
eslint-plugin-react-hooks - Framework: global
- Enabled when: eslint-plugin-react-hooks v6+ installed AND React Compiler detected in project
Validation prompt
Use this to decide whether a fired diagnostic is real or a false positive.
Deprecated — removed in eslint-plugin-react-hooks 7.1.0 and no longer emits diagnostics. If you see this rule id surfacing, the project is pinned to an older version of the plugin; the rule itself has no live detection logic to validate against.
Fix prompt
Use this once validation confirms the diagnostic is real.
Remove the rule from your eslint/oxlint config entirely since it is a no-op. Upgrade eslint-plugin-react-hooks to 7.1.0 or later (e.g. ni eslint-plugin-react-hooks@latest -D) so the rule disappears from the plugin's exported rule list. There is no replacement to enable in its place.