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 #9922] Replace extra disable directives with comma #9937

Merged
merged 1 commit into from Jul 16, 2021

Conversation

jonas054
Copy link
Collaborator

Just removing cop names from disable directives is not a good solution. It's bound to cause infinite loop errors when those cops try to add the disable directives back. The natural solution is to put in commas instead.

Just removing cop names from disable directives is not a good
solution. It's bound to cause infinite loop errors when those cops try
to add the disable directives back. The natural solution is to put in
commas instead.
@koic koic merged commit 82d7122 into rubocop:master Jul 16, 2021
@koic
Copy link
Member

koic commented Jul 16, 2021

Looks good to me! Thanks!

@jonas054 jonas054 deleted the 9922_fix_DoubleCopDisableDirective branch July 16, 2021 16:40
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

2 participants