Skip to content

Conversation

@porada
Copy link

@porada porada commented Oct 25, 2025

Following the release of the React Compiler, React’s official recommendations on enforcing the Rules of React received a major update.

This PR bumps eslint-plugin-react-hooks to the latest version aligned with those changes. The plugin remains backward compatible—it just introduces additional rules.

If agreed, I’d also like to include some of these new rules in XO’s config. The updated recommendations effectively iterate on what “writing proper React” means. And since XO is about great defaults, eslint-config-xo-react should follow suit.

Copilot AI review requested due to automatic review settings October 25, 2025 18:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates eslint-plugin-react-hooks from version 5.1.0 to 7.0.1 to align with React's updated official recommendations following the React Compiler release. The plugin remains backward compatible while introducing additional rules for enforcing the Rules of React.

  • Bumps eslint-plugin-react-hooks dependency to version 7.0.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant