-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Feature Request: Style/InlineComment Exception for Rubocop Comments #5390
Labels
Comments
This was referenced Mar 21, 2018
Implemented here: #5697 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In general I like to avoid inline comments (obviously with some exceptions), but when I attempted to try out this cop, I ran into a huge hurdle.
Rubocop uses inline comments to disable certain cops. This is a useful feature as it doesn't require re-enabling the cop on the next line.
Unfortunately, because the
InlineComment
cop doesn't provide an exception forrubocop
comments, it requires every Rubocop inline comment to also require disabling theInlineComment
cop.The text was updated successfully, but these errors were encountered: