Skip to content

Commit

Permalink
docs(check-tag-names): add docs on rejecting tags
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Apr 24, 2023
1 parent f3faa25 commit 95f126d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .README/rules/check-tag-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,22 @@ typeSummary
wizaction
```

If you instead wish to reject a normally valid tag, e.g., `@todo`, one may set the
tag to `false`:

```json
{
"rules": {},
"settings": {
"jsdoc": {
"tagNamePreference": {
"todo": false
}
}
}
}
```

#### Options

##### `definedTags`
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4471,6 +4471,22 @@ typeSummary
wizaction
```

If you instead wish to reject a normally valid tag, e.g., `@todo`, one may set the
tag to `false`:

```json
{
"rules": {},
"settings": {
"jsdoc": {
"tagNamePreference": {
"todo": false
}
}
}
}
```

<a name="user-content-eslint-plugin-jsdoc-rules-check-tag-names-options-6"></a>
<a name="eslint-plugin-jsdoc-rules-check-tag-names-options-6"></a>
#### Options
Expand Down

0 comments on commit 95f126d

Please sign in to comment.