Expected behavior
I would expected the safe navigation operator to be considered by Layout/MultilineMethodCallIndentation.
Actual behavior
The cop ignores method chaining when it uses .&.
Steps to reproduce the problem
test.rb
HakunaMatata.a
.b
&.c
&.d
HakunaMatata.a
.b
.c
.d
bundle exec rubocop --only Layout/MultilineMethodCallIndentation test.rb
only flags the second example.
RuboCop version
$ rubocop -V
0.52.1 (using Parser 2.5.0.2, running on ruby 2.5.0 x86_64-linux)
Expected behavior
I would expected the safe navigation operator to be considered by
Layout/MultilineMethodCallIndentation.Actual behavior
The cop ignores method chaining when it uses
.&.Steps to reproduce the problem
test.rb
bundle exec rubocop --only Layout/MultilineMethodCallIndentation test.rbonly flags the second example.
RuboCop version