Skip to content

Commit

Permalink
fix(informative-docs, require-asterisk-prefix): add missing and u…
Browse files Browse the repository at this point in the history
…pdate out-of-date doc URL; fixes #1094
  • Loading branch information
brettz9 committed May 26, 2023
1 parent f1183cc commit 94cb599
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/informativeDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default iterateJsdoc(({
docs: {
description:
'This rule reports doc comments that only restate their attached name.',
url: 'https://github.com/gajus/eslint-plugin-jsdoc#informative-docs',
url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header',
},
schema: [
{
Expand Down
5 changes: 5 additions & 0 deletions src/rules/requireAsteriskPrefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ export default iterateJsdoc(({
}, {
iterateAllJsdocs: true,
meta: {
docs: {
description:
'Requires that each JSDoc line starts with an `*`.',
url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header',
},
fixable: 'code',
schema: [
{
Expand Down

0 comments on commit 94cb599

Please sign in to comment.