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
Consider
f(:'foo' => 'bar')
Lint/SymbolConversion incorrectly autocorrects this to:
Lint/SymbolConversion
f(foo => 'bar')
Should be autocorrected to
f(:foo => 'bar')
rubocop --only Lint/SymbolConversion -a example.rb
$ [bundle exec] rubocop -V 1.26.0 (using Parser 3.1.1.0, rubocop-ast 1.16.0, running on ruby 2.6.6 x86_64-darwin20) - rubocop-performance 1.11.5
The text was updated successfully, but these errors were encountered:
[Fix rubocop#10462] Fix an incorrect autocorrect for `Lint/SymbolConv…
58ed4ba
…ersion` Fixes rubocop#10462. This PR fixes an incorrect autocorrect for `Lint/SymbolConversion` when using a quoted symbol key with hash rocket.
[Fix #10462] Fix an incorrect autocorrect for Lint/SymbolConversion
5234ad4
Fixes #10462. This PR fixes an incorrect autocorrect for `Lint/SymbolConversion` when using a quoted symbol key with hash rocket.
Successfully merging a pull request may close this issue.
Consider
Lint/SymbolConversion
incorrectly autocorrects this to:Expected behavior
Should be autocorrected to
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: