-
-
Notifications
You must be signed in to change notification settings - Fork 533
feat: new jsdoc comments formatter #797
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
Conversation
@drwpow sorry for pushing, but we need to merge this pr, or we'll only have to use the fork version of your package ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fantastic! Thank you for adding.
Also, sorry for the delay on this. I kinda was maxxed out on open-source maintenance for a while this year.
I won’t push a new release today, as I want to do a little local testing. But this will go out in a minor release this week |
No problem, thanks for reaction and merging, hope work with this package in future as well! |
@all-contributors please add @sadfsdfdsa for code |
I've put up a pull request to add @sadfsdfdsa! 🎉 |
Released in |
Feat more powerful comments formatter with jsdoc tags supports.
TYPE: FEATURE
AFFECTS: ONLY COMMENTS
Now supports:
title
as simple description comment (as description in actual version)format
from yaml with prefix (example:Format: date-time
), think it's better to have it)@deprecated
as in previous version@description something
as JSDOC tag (actual version: without tag, but now title use that format and description switched to tag)@default something
as JSDOC tag@example something
as JSDOC tagGenerated example with full possibilities of new version:

Also added json (ping me if need to go to yaml) with all new jsdoc config example.
Of course, I broke tests that are designed for the old description format, thinks it's better to change expects with new generated. Snapshots different only in comments body.