You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use jsdoc/recommended which includes the require-param rule.
Now I have a typescript library, and I use JSDoc comments to auto-generate an html documentation for lib-users, not for lib-devs. Therefore, I use @ignore on all artifacts that are not part of the public api of my lib, so they won't appear in the generated html documentation.
However, the require-param rule still wants me to document params on functions that I @ignored, for example:
From my understanding, the @ignore tag should take precedence over all other stuff, and therefore it should be not required to document params in @ignored functions.
The text was updated successfully, but these errors were encountered:
brettz9
added a commit
to brettz9/eslint-plugin-jsdoc
that referenced
this issue
Aug 23, 2021
I've filed #781 as a possible solution. It adds a new setting, ignoreReplacesDocs, which will be on by default, that will cause @ignore to replace the need for documentation. (Some might still want to require well-formed docs even if using @ignore, so that's why the setting can be set to false, but I agree it makes sense as a default to be on.)
I use
jsdoc/recommended
which includes therequire-param
rule.Now I have a typescript library, and I use JSDoc comments to auto-generate an html documentation for lib-users, not for lib-devs. Therefore, I use
@ignore
on all artifacts that are not part of the public api of my lib, so they won't appear in the generated html documentation.However, the
require-param
rule still wants me to document params on functions that I@ignore
d, for example:When I run eslint, it complains:
From my understanding, the
@ignore
tag should take precedence over all other stuff, and therefore it should be not required to document params in@ignore
d functions.The text was updated successfully, but these errors were encountered: