diff --git a/jsdoc.json b/jsdoc.json index 60f0f566..94f4d6ac 100644 --- a/jsdoc.json +++ b/jsdoc.json @@ -39,6 +39,16 @@ }, "rules": { "jsdoc/check-param-names": [ "warn", { "allowExtraTrailingParamDocs": true } ], + "jsdoc/check-tag-names": [ + "warn", + { + "definedTags": [ + "ignore", + "internal", + "stable" + ] + } + ], "jsdoc/check-values": "off", "jsdoc/empty-tags": "off", "jsdoc/no-multi-asterisks": [ "error", { "allowWhitespace": true } ], diff --git a/test/fixtures/jsdoc/valid.js b/test/fixtures/jsdoc/valid.js index fbd9b73f..e326a015 100644 --- a/test/fixtures/jsdoc/valid.js +++ b/test/fixtures/jsdoc/valid.js @@ -155,6 +155,9 @@ * line * @yield {number} Multi- * line + * @ignore + * @internal + * @stable */ APP.JSDocTags = function ( a, b ) { return a || b;