Skip to content

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

Merged
merged 8 commits into from
Jul 14, 2020

Conversation

zachintosh
Copy link
Contributor

@zachintosh zachintosh commented Jul 14, 2020

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.

@zachintosh zachintosh requested a review from skye2k2 July 14, 2020 17:09
@skye2k2
Copy link
Collaborator

skye2k2 commented Jul 14, 2020

Running the test:update script, and committing the corresponding files would be awesome.

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',
Copy link
Collaborator

@skye2k2 skye2k2 Jul 14, 2020

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.

Copy link
Contributor Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

winwinwin

@skye2k2 skye2k2 changed the title Remove jsdoc plugin and jsdoc rules Disable enforcing JSDoc internals for functions that do not have JSDocs Jul 14, 2020
@skye2k2 skye2k2 merged commit 6c0273a into master Jul 14, 2020
@skye2k2 skye2k2 deleted the remove-jsdoc-rules branch July 14, 2020 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants