diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-05-22 04:31:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 04:31:51 -0700 |
commit | 7ab7a14db74b037ca8b035a04c28ac0b6e30e716 (patch) | |
tree | 6930fc704cda892c3ad445e1550a5505edbca1bd /tools/jsdoc_checker.js | |
parent | fabd9a214b278bb119818187de66121c5f91b751 (diff) |
refactor(docs): use `@experimental` instead of `@tags unstable` (#23884)
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"); } } } |