Skip to content

Commit 749fe33

Browse files
author
Joe Savona
committed
Update readme for eprh
1 parent 0eebd37 commit 749fe33

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/eslint-plugin-react-hooks/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# `eslint-plugin-react-hooks`
22

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.
64

75
## Installation
86

@@ -89,7 +87,7 @@ If you're using a version earlier than 5.2.0, the legacy config was simply `reco
8987

9088
### Custom Configuration
9189

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.
9391

9492
#### Flat Config (eslint.config.js|ts)
9593

0 commit comments

Comments
 (0)