-
-
Notifications
You must be signed in to change notification settings - Fork 164
Implement a requireJSDoc compatible rule with working tests #205
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
Actually, the tests pass locally, so I'm not sure what's happening. |
8dda5fb
to
6290537
Compare
Should be good to go! The latest commit here is a cleaner approach using |
src/rules/requireJsdoc.js
Outdated
@@ -0,0 +1,166 @@ | |||
// |
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.
Unnecessary comment.
src/rules/requireJsdoc.js
Outdated
// Thus this method implements a compatible requireJSDoc rule. | ||
// | ||
|
||
/* eslint-disable sort-keys */ |
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.
Unnecessary eslint-disable/ comment.
Sorted property style is enforced across the entire library. This rule implementation is not an exception.
Thank you for cleaning this up. I've added to style comments. Can you please address them? Otherwise, I am happy to jump in and amend the the PR in the next 24 hours. |
@gajus I committed some changes that address your comments. Let me know if there's anything else. Thanks! |
Noticed after merging that this was submitted without the accompanying documentation. That would be a nice follow up PR. |
🎉 This PR is included in version 4.8.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Forked from the proposed pull request here: #188.
Original text from @thsmi: