-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing docs for informative-docs > excludedTags option #1214
Labels
Comments
There is already an |
Aha! #1153 - that must be why it didn't come up in my searches. Nice. Thanks - will send a docs PR. |
JoshuaKGoldberg
changed the title
Allow excluding individual tags from informative-docs
Missing docs for informative-docs > excludedTags option
Mar 9, 2024
🎉 This issue has been resolved in version 48.2.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
jsdoc/informative-docs
will scan the body and all tags of a JSDoc tag for informative-ness. This is good and intended in most cases. But sometimes, there are tags that are used as categorization / metadata and only coincidentally match the name of the construct they're documenting. For example:Standalone reproduction of that snippet for reference: https://github.com/JoshuaKGoldberg/repros/tree/jsdoc-informative-docs-category-tag
Current behavior
Desired behavior
Can we add an option to the rule to allow a list of tags to be ignored? Say,
ignoredTags
?Alternatives considered
An inline disable comment is doable, but clutters the code and is generally inconvenient.
The text was updated successfully, but these errors were encountered: