[eslint-plugin-react-hooks] update doc url for rules of hooks (#33118)

This commit is contained in:
Stephen Zhou 2025-05-05 23:37:06 +08:00 committed by GitHub
parent 0ca8420f9d
commit 3ec88e797f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ const rule = {
docs: { docs: {
description: 'enforces the Rules of Hooks', description: 'enforces the Rules of Hooks',
recommended: true, recommended: true,
url: 'https://reactjs.org/docs/hooks-rules.html', url: 'https://react.dev/reference/rules/rules-of-hooks',
}, },
}, },
create(context: Rule.RuleContext) { create(context: Rule.RuleContext) {