build: update ts-api-guardian jsdoc tag requirements (#26595)
Now `@experimental` tags are banned; and `@publicApi` tags are required on exports. PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
24521f549c
commit
c5949f85ef
@ -24,9 +24,9 @@ export function startCli() {
|
||||
const options: SerializationOptions = {
|
||||
stripExportPattern: [].concat(argv['stripExportPattern']),
|
||||
allowModuleIdentifiers: [].concat(argv['allowModuleIdentifiers']),
|
||||
exportTags: {required: [], banned: [], toCopy: ['deprecated', 'experimental']},
|
||||
memberTags: {required: [], banned: [], toCopy: ['deprecated', 'experimental']},
|
||||
paramTags: {required: [], banned: [], toCopy: ['deprecated', 'experimental']}
|
||||
exportTags: {required: ['publicApi'], banned: ['experimental'], toCopy: ['deprecated']},
|
||||
memberTags: {required: [], banned: ['experimental', 'publicApi'], toCopy: ['deprecated']},
|
||||
paramTags: {required: [], banned: ['experimental', 'publicApi'], toCopy: ['deprecated']}
|
||||
};
|
||||
|
||||
for (const error of errors) {
|
||||
|
Reference in New Issue
Block a user