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
after running the command rubocop-enable-cops the line would look like that:
some_methodrescuehandle_error
In case of multiple offences on a given line the commands would either disable or enable all of them. It could also work on a region - in such case it would disable given cops on multiple lines by adding the comments on the lines preceding and following the region.
The text was updated successfully, but these errors were encountered:
asok
added a commit
to asok/rubocop-emacs
that referenced
this issue
Apr 22, 2022
Hi, would you accept a PR with such feature? The way I see it would work like that:
rubocop-disable-cops
the line would looke like that:rubocop-enable-cops
the line would look like that:In case of multiple offences on a given line the commands would either disable or enable all of them. It could also work on a region - in such case it would disable given cops on multiple lines by adding the comments on the lines preceding and following the region.
The text was updated successfully, but these errors were encountered: