allowed-tags
Allow only listed tags and tags matching listed regular expressions.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| tags | no | no | {"tags":[],"patterns":[]} |
Reports tags that are not listed in tags and match no regular expression in patterns.
Configuration
json
{ "rules": { "allowed-tags": ["error", {"tags":[],"patterns":[]}] } }Triggered by
text
@unlisted