summaryrefslogtreecommitdiff
path: root/tools/jsdoc_checker.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jsdoc_checker.js')
-rwxr-xr-xtools/jsdoc_checker.js10
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");
}
}
}