Skip to content

Commit cce70b0

Browse files
ahwayakchihchiawendt
authored andcommitted
fix(check-indentation): validate tag names passed to excludeTags
As requested by @golopot: #388 (comment)
1 parent f60537a commit cce70b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/checkIndentation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default iterateJsdoc(({
4545
properties: {
4646
excludeTags: {
4747
items: {
48+
pattern: '^[a-zA-Z]+$',
4849
type: 'string',
4950
},
5051
type: 'array',

0 commit comments

Comments
 (0)