Update readme for eprh (#34714)
Joseph Savona committed
Oct 3, 2025 at 09:47 UTC
f24d3bbc70ae6544b5aafd250f22f0a68b4a3107
1 file changed
+2
-4
packages/eslint-plugin-react-hooks/README.md
+2
-4
@@ -1,8 +1,6 @@
1
# `eslint-plugin-react-hooks`
2
3
-This ESLint plugin enforces the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks).
4
-
5
-It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React.
3
+The official ESLint plugin for [React](https://react.dev) which enforces the [Rules of React](https://react.dev/reference/eslint-plugin-react-hooks) and other best practices.
4
5
## Installation
6
@@ -89,7 +87,7 @@ If you're using a version earlier than 5.2.0, the legacy config was simply `reco
87
88
### Custom Configuration
89
92
-If you want more fine-grained configuration, you can instead add a snippet like this to your ESLint configuration file:
90
+If you want more fine-grained configuration, you can instead choose to enable specific rules. However, we strongly encourage using the recommended presets — see above — so that you will automatically receive new recommended rules as we add them in future versions of the plugin.
91
92
#### Flat Config (eslint.config.js|ts)
93