8000 docs(eslint-plugin): correct version typo in documentation url (#302) · JProgrammer/typescript-eslint@4de9305 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4de9305

Browse files
penumbra1armano2
authored andcommitted
docs(eslint-plugin): correct version typo in documentation url (typescript-eslint#302)
1 parent 1b3d31e commit 4de9305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/src/util/createRule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function createRule<
4848
...meta,
4949
docs: {
5050
...meta.docs,
51-
url: `https://github.com/typescript-eslint/typescript-eslint/blob/${version}/packages/eslint-plugin/docs/rules/${name}.md`,
51+
url: `https://github.com/typescript-eslint/typescript-eslint/blob/v${version}/packages/eslint-plugin/docs/rules/${name}.md`,
5252
4356 extraDescription: meta.docs.tslintName
5353
? [`\`${meta.docs.tslintName}\` from TSLint`]
5454
: undefined,

0 commit comments

Comments
 (0)
0