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
The following line violates SymbolProc and SpaceBeforeBlockBraces:
foo.map{ |a| a.nil? }
But both autocorrections seem to interfere. The produced code is
f oo.map(&:nil?)
which is invalid Ruby code.
This happens in v0.26.1 as well as in current master (e8e1a7f)
I created a small Gist for your convenience.
Using 0.26.1 (using Parser 2.2.0.pre.5, running on ruby 1.9.3 x86_64-linux)
0.26.1 (using Parser 2.2.0.pre.5, running on ruby 1.9.3 x86_64-linux)
Let me know if more information is required.
The text was updated successfully, but these errors were encountered:
In @jonas054 we trust! :-)
Sorry, something went wrong.
6e4507e
Merge pull request #1379 from jonas054/1374_autocorrect_problem
4cfa437
[Fix #1374] Always auto-correct one cop at a time
Thanks @jonas054 for the fast fix!
jonas054
No branches or pull requests
The following line violates SymbolProc and SpaceBeforeBlockBraces:
But both autocorrections seem to interfere. The produced code is
which is invalid Ruby code.
This happens in v0.26.1 as well as in current master (e8e1a7f)
I created a small Gist for your convenience.
Using
0.26.1 (using Parser 2.2.0.pre.5, running on ruby 1.9.3 x86_64-linux)
Let me know if more information is required.
The text was updated successfully, but these errors were encountered: