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

[Fix #7708] Support EOL disable comments on comment lines #7721

Merged

Conversation

jonas054
Copy link
Collaborator

A hash mark # on a comment line doesn't start a new comment, so we have to pretend that it does in order to support disabling of cops on a single comment line.

A hash mark `#` on a comment line doesn't start a new comment, so we have to
pretend that it does in order to support disabling of cops on a single comment
line.
@jonas054 jonas054 force-pushed the 7708_rubocopdisable_comment_in_comment branch from e775ff3 to 4412bed Compare February 17, 2020 06:10
@Drenmi
Copy link
Collaborator

Drenmi commented Feb 17, 2020

Great catch! 🚀

@koic koic merged commit dc1e2e9 into rubocop:master Feb 17, 2020
@koic
Copy link
Member

koic commented Feb 17, 2020

Thanks!

@jonas054 jonas054 deleted the 7708_rubocopdisable_comment_in_comment branch February 18, 2020 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants