Skip to content
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

Allow empty line after JS Doc in require-jsdoc rule #323

Closed
curiousity4ever opened this issue Jul 9, 2019 · 3 comments · Fixed by #353
Closed

Allow empty line after JS Doc in require-jsdoc rule #323

curiousity4ever opened this issue Jul 9, 2019 · 3 comments · Fixed by #353

Comments

@curiousity4ever
Copy link

Currently, the following block of code returns the following exception:

/**
 * JS Doc rules!
 */

function ignoreEmptyLineAbove() {
    rule();
}
 5:1  error  Missing JSDoc comment                                          jsdoc/require-jsdoc

Is there a way to make the plugin ignore the empty line after JS Doc / before the statement?

@golopot
Copy link
Collaborator

golopot commented Jul 10, 2019

It make sense to allow empty line between jsdoc and functions. Jsdoc doc generator allows it, and projects in the wilds uses it.

@brettz9
Copy link
Collaborator

brettz9 commented Jul 23, 2019

Closed by #353.

@brettz9 brettz9 closed this as completed Jul 23, 2019
@gajus
Copy link
Owner

gajus commented Jul 23, 2019

🎉 This issue has been resolved in version 15.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants