We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Create file test.rb with content:
test.rb
{ foo: 'foo', bar: 'bar'.delete(',') # ',' }
Run rubocop rubocop -aD test.rb with auto-fixes enabled After autofixes we loose comma in quotes in comment:
rubocop -aD test.rb
{ foo: 'foo', bar: 'bar'.delete(',') # '' }
rubocop -V 0.30.0 (using Parser 2.2.0.3, running on ruby 2.1.5 x86_64-linux)
The text was updated successfully, but these errors were encountered:
e3a689c
Merge pull request #1796 from jonas054/1793_trailing_comma_comment
04e5fba
[Fix #1793] Check in TrailingComma if found comma is in a comment
jonas054
No branches or pull requests
Create file
test.rb
with content:Run rubocop
rubocop -aD test.rb
with auto-fixes enabledAfter autofixes we loose comma in quotes in comment:
The text was updated successfully, but these errors were encountered: