Skip to content

Conversation

Dejumo
Copy link
Contributor

@Dejumo Dejumo commented Aug 23, 2025

Update editor setup docs to recommend eslint-plugin-react and eslint-plugin-react-hooks

#7932

Update editor setup docs to recommend eslint-plugin-react and eslint-plugin-react-hooks
Copy link

Size changes

πŸ“¦ Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. πŸ€–

This PR introduced no changes to the JavaScript bundle! πŸ™Œ

@rickhanlonii rickhanlonii requested a review from poteto September 2, 2025 18:15
@@ -36,7 +36,7 @@ Code linters find problems in your code as you write, helping you fix them early
* [Install ESLint with the recommended configuration for React](https://www.npmjs.com/package/eslint-config-react-app) (be sure you have [Node installed!](https://nodejs.org/en/download/current/))
* [Integrate ESLint in VSCode with the official extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

**Make sure that you've enabled all the [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) rules for your project.** They are essential and catch the most severe bugs early. The recommended [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) preset already includes them.
**Make sure that you've enabled all the [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) rules in your project.** They are essential and catch the most severe bugs early. If you’re setting up linting manually, we recommend using both [`eslint-plugin-react`](https://www.npmjs.com/package/eslint-plugin-react) and [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks). If you’re using the new ESLint flat config format, you can extend the configs included with those plugins.
Copy link
Member

Choose a reason for hiding this comment

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

See my comment in the issue - I don't think we should recommend one or the other. The goal here is to inform users that if they are using one of the config presets, it's already included.

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

Successfully merging this pull request may close these issues.

2 participants