diff options
Diffstat (limited to 'tools/jsdoc_checker.js')
-rwxr-xr-x | tools/jsdoc_checker.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/jsdoc_checker.js b/tools/jsdoc_checker.js index 733790c4e..4cbccf535 100755 --- a/tools/jsdoc_checker.js +++ b/tools/jsdoc_checker.js @@ -70,14 +70,8 @@ for (const file of project.getSourceFiles()) { } if (unstableFiles.includes(file)) { - const tagsTag = tags.find((tag) => tag.getTagName() === "tags"); - if ( - !(tagsTag?.getComment() && - tagsTag.getCommentText().includes("unstable")) - ) { - errors.push( - getErrorPrefix(node) + "JSDoc @tags tag with value 'unstable'", - ); + if (!tags.find((tag) => tag.getTagName() === "experimental")) { + errors.push(getErrorPrefix(node) + "JSDoc @experimental tag"); } } } |