Skip to content

Commit

Permalink
[ESLint] Update README links to react.dev (facebook#28692)
Browse files Browse the repository at this point in the history
Update ESLint plugin README to redirect to https://react.dev for more
details (instead of legacy docs)
  • Loading branch information
jfgreffier authored and AndyPengc12 committed Apr 15, 2024
1 parent 2a5e792 commit 694313e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/eslint-plugin-react-hooks/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `eslint-plugin-react-hooks`

This ESLint plugin enforces the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html).
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://reactjs.org/docs/hooks-intro.html) for React.
It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React.

## Installation

Expand Down Expand Up @@ -68,7 +68,7 @@ We suggest to use this option **very sparingly, if at all**. Generally saying, w

## Valid and Invalid Examples

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.
Please refer to the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks) documentation to learn more about this rule.

## License

Expand Down

0 comments on commit 694313e

Please sign in to comment.