Skip to content

Commit

Permalink
chore: enable tag linting
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega committed May 24, 2023
1 parent 8555c7b commit 4ecca63
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
15 changes: 12 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,18 @@ function buildTSOverride({files, tsconfig}) {
'publicOnly': true,
},
],
// Disable because of false alarms with Closure-supported tags.
// Re-enable after Closure is removed.
'jsdoc/check-tag-names': ['off'],
'jsdoc/check-tag-names': [
'error',
{
'definedTags': [
'sealed',
'typeParam',
'remarks',
'define',
'nocollapse',
],
},
],
// Re-enable after Closure is removed. There shouldn't even be
// types in the TsDoc.
// These are "types" because of Closure's @suppress {warningName}
Expand Down
8 changes: 0 additions & 8 deletions tsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
{
"tagName": "@nocollapse",
"syntaxKind": "modifier"
},
{
"tagName": "@suppress",
"syntaxKind": "block"
},
{
"tagName": "@unrestricted",
"syntaxKind": "modifier"
}
],

Expand Down

0 comments on commit 4ecca63

Please sign in to comment.