[ESLint] Update README links to react.dev (#28692)
Update ESLint plugin README to redirect to https://react.dev for more details (instead of legacy docs)
Jean-François Greffier committed
Apr 1, 2024 at 16:52 UTC
496fd3da5aa39733f772918004401f59e315cfa2
1 file changed
+3
-3
packages/eslint-plugin-react-hooks/README.md
+3
-3
@@ -1,8 +1,8 @@
1
# `eslint-plugin-react-hooks`
2
3
-This ESLint plugin enforces the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html).
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://reactjs.org/docs/hooks-intro.html) for React.
5
+It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React.
6
7
## Installation
8
@@ -68,7 +68,7 @@ We suggest to use this option **very sparingly, if at all**. Generally saying, w
68
69
## Valid and Invalid Examples
70
71
-Please refer to the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) documentation and the [Hooks FAQ](https://reactjs.org/docs/hooks-faq.html#what-exactly-do-the-lint-rules-enforce) to learn more about this rule.
71
+Please refer to the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks) documentation to learn more about this rule.
72
73
## License
74