From 94cb599304682c901994bf4966453b79bb984613 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Fri, 26 May 2023 03:21:58 -0700 Subject: [PATCH] fix(`informative-docs`, `require-asterisk-prefix`): add missing and update out-of-date doc URL; fixes #1094 --- src/rules/informativeDocs.js | 2 +- src/rules/requireAsteriskPrefix.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/rules/informativeDocs.js b/src/rules/informativeDocs.js index 2a5ac0d20..ecdf44965 100644 --- a/src/rules/informativeDocs.js +++ b/src/rules/informativeDocs.js @@ -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: [ { diff --git a/src/rules/requireAsteriskPrefix.js b/src/rules/requireAsteriskPrefix.js index 872da1fe9..78af247c2 100644 --- a/src/rules/requireAsteriskPrefix.js +++ b/src/rules/requireAsteriskPrefix.js @@ -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: [ {