From f24d3bbc70ae6544b5aafd250f22f0a68b4a3107 Mon Sep 17 00:00:00 2001 From: Joseph Savona <6425824+josephsavona@users.noreply.github.com> Date: Fri, 3 Oct 2025 09:47:34 -0700 Subject: [PATCH] Update readme for eprh (#34714) --- packages/eslint-plugin-react-hooks/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/eslint-plugin-react-hooks/README.md b/packages/eslint-plugin-react-hooks/README.md index 20d32fe9fd..afd89ab226 100644 --- a/packages/eslint-plugin-react-hooks/README.md +++ b/packages/eslint-plugin-react-hooks/README.md @@ -1,8 +1,6 @@ # `eslint-plugin-react-hooks` -This ESLint plugin enforces the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks). - -It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React. +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. ## Installation @@ -89,7 +87,7 @@ If you're using a version earlier than 5.2.0, the legacy config was simply `reco ### Custom Configuration -If you want more fine-grained configuration, you can instead add a snippet like this to your ESLint configuration file: +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. #### Flat Config (eslint.config.js|ts)