-
Notifications
You must be signed in to change notification settings - Fork 0
Disable enforcing JSDoc internals for functions that do not have JSDocs #3
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
Running the This code does not yet have a build to check things like that, sorry. |
'jsdoc/require-example': 'off', | ||
'jsdoc/require-file-overview': 'off', | ||
'jsdoc/require-hyphen-before-param-description': 'warn', | ||
'jsdoc/require-jsdoc': 'warn', |
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.
Pretty sure that setting jsdoc/require-jsdoc
to off
would give you the freedom you desired, while still enforcing good habits for those who choose to use them. With that change, this would only be a minor release, and life would be able to continue with minimal disruption.
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.
I see. So it wouldn't require us to add jsdocs, but as soon as you do, the other jsdoc rules would kick in. I'd be good with that.
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.
From this point on, only functions that have JSDocs will have the remainder of the rules applied.
Update eslint-plugin-jsdoc: ^20 --> ^29.
Release version 2.1.0.