You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
End-of-line disable comments can't be used to disable an offense in a comment, currently. It will work like the other kind of disable comment, the one that needs an enable. It's an edge case, but it seems like a bug to me.
@jeffkowalski Please open a new issue. If you mention me in it, I will try to fix the problem.
Expected behavior
Disable an offense for a single-line comment, returning the enable state afterward
Per @jonas054 in #1625:
Expected behavior
Disable an offense for a single-line comment, returning the enable state afterward
Actual behavior
Disable comment has no effect on code comment
Steps to reproduce the problem
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: