From 3ec88e797f7352c87cb79292b02fdfc53050133f Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Mon, 5 May 2025 23:37:06 +0800 Subject: [PATCH] [eslint-plugin-react-hooks] update doc url for rules of hooks (#33118) --- packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts b/packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts index 6be40df532..ac7d0f3a06 100644 --- a/packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts +++ b/packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts @@ -128,7 +128,7 @@ const rule = { docs: { description: 'enforces the Rules of Hooks', recommended: true, - url: 'https://reactjs.org/docs/hooks-rules.html', + url: 'https://react.dev/reference/rules/rules-of-hooks', }, }, create(context: Rule.RuleContext) {