[Suggestion]: Change recommended React linting plugin
@poteto is already working on this.
Since Sep 3, 2025.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Summary
Change recommended React linting config eslint-config-react-app to eslint-plugin-react.
Page
https://react.dev/learn/editor-setup
Details
This text probably recommends the wrong config:
Make sure that you’ve enabled all the eslint-plugin-react-hooks rules for your project. They are essential and catch the most severe bugs early. The recommended eslint-config-react-app preset already includes them.
If using the new ESLint flat config format, it is better to use the configs included with https://www.npmjs.com/package/eslint-plugin-react.
Essentially I think the paragraph should recommend both eslint-plugin-react and eslint-plugin-react-hooks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.