Skip to content

Commit 377f64b

Browse files
k-ylepoteto
authored andcommitted
[eprh] fix react-compiler rules missing meta.docs.url property
1 parent bf1afad commit 377f64b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/eslint-plugin-react-hooks/src/shared/ReactCompiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ function makeRule(rule: LintRule): Rule.RuleModule {
151151
docs: {
152152
description: rule.description,
153153
recommended: rule.preset === LintRulePreset.Recommended,
154+
url: `https://react.dev/reference/eslint-plugin-react-hooks/lints/${rule.name}`,
154155
},
155156
fixable: 'code',
156157
hasSuggestions: true,

0 commit comments

Comments
 (0)