Capítulo 46 de 116
eslint-plugin-react-hooks is the official lint plugin that mechanically enforces the Rules of Hooks (Ch 116) and — in its newer releases — the broader Rules of React that React Compiler also relies on; installing and configuring it is what turns those rules from "something to remember" into "something the editor/CI catches."
config: the plugin ships presets (e.g. a recommended config) that bundle a sensible default rule set — most projects extend a preset rather than hand-picking every rule.gating: a rule/setting related to runtime feature-flag gating, mirroring the React Compiler's own gating mechanism (Ch 44) so lint checks and compiler behavior can stay aligned when a codebase is rolling out compiler adoption behind a flag.globals: configuration for recognizing project-specific global identifiers so the plugin doesn't misflag legitimate non-reactive globals as violations.gating/globals config exists specifically to keep the linter accurate during incremental compiler adoption and around legitimate non-reactive globals — not to weaken the rules.