-
-
Notifications
You must be signed in to change notification settings - Fork 163
require-description-complete-sentence tries to capitalize variable names in @return #65
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
Comments
It assumes there is no variable name, I think the standard JSdoc way if doing it is with |
It seems like this is a bit of a grey area in the jsdoc docs: jsdoc/jsdoc.github.io#115 In any case, it is probably straightforward to make the code skip the first part of the string if the tag is |
It's not obvious as this code is already a mess. It should be done by adding a custom parser to comment-parser which excludes it from the description. |
This may also tie into #11 |
At this point, I would hesitate to support this. As a style that is not formally documented at the very least, and is not supported in TypeScript JSDoc (and with our plan to move to TypeScript JSDoc by default)--which has an easier object shorthand syntax that can be used in its place, I don't think this is something even for "jsdoc" mode. Closing, therefore, though feel free to comment further as needed. |
For example:
The text was updated successfully, but these errors were encountered: