Skip to content

Commit 7e7cf4d

Browse files
authored
doc: fix broken rule links (#315)
1 parent 1291d07 commit 7e7cf4d

File tree

1 file changed

+1
-1
lines changed
  • website/theme/components/RuleStates

1 file changed

+1
-1
lines changed

website/theme/components/RuleStates/rule.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const fetcher = async (url: string): Promise<RuleManifest> => {
5858
};
5959

6060
function getRuleUrl(rule: Rule): string {
61-
if (rule.group === '@typescript-eslint/eslint-plugin') {
61+
if (rule.group === '@typescript-eslint') {
6262
return `https://typescript-eslint.io/rules/${rule.name}`;
6363
}
6464
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-self-import.md

0 commit comments

Comments
 (0)