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
For multiline word array and symbol array autocorrect
it expects to keep the original indent.
it removes original indent.
$ cat test.rb
[ "foo", "bar", "baz" ] [ :foo, :bar, :baz ]
$ rubocop -a --only Style/WordArray,Style/SymbolArray ./test.rb
%w[ foo. bar. baz] %i[ foo. bar. baz]
But I expect the code to be
%w[ foo bar baz ] %i[ foo bar baz ]
$ rubocop -V 0.52.1 (using Parser 2.4.0.2, running on ruby 2.4.3 x86_64-darwin17)
The text was updated successfully, but these errors were encountered:
[Fix rubocop#5409] Fix multiline indent for Style/SymbolArray and Sty…
e0f3b88
…le/WordArray autocorrect
2ee27d2
c7cf3f8
No branches or pull requests
For multiline word array and symbol array autocorrect
Expected behavior
it expects to keep the original indent.
Actual behavior
it removes original indent.
Steps to reproduce the problem
But I expect the code to be
RuboCop version
The text was updated successfully, but these errors were encountered: