Skip to content

Commit 94cb599

Browse files
committed
fix(informative-docs, require-asterisk-prefix): add missing and update out-of-date doc URL; fixes #1094
1 parent f1183cc commit 94cb599

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/rules/informativeDocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default iterateJsdoc(({
140140
docs: {
141141
description:
142142
'This rule reports doc comments that only restate their attached name.',
143-
url: 'https://github.com/gajus/eslint-plugin-jsdoc#informative-docs',
143+
url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header',
144144
},
145145
schema: [
146146
{

src/rules/requireAsteriskPrefix.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ export default iterateJsdoc(({
141141
}, {
142142
iterateAllJsdocs: true,
143143
meta: {
144+
docs: {
145+
description:
146+
'Requires that each JSDoc line starts with an `*`.',
147+
url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header',
148+
},
144149
fixable: 'code',
145150
schema: [
146151
{

0 commit comments

Comments
 (0)