You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case the first parameter to MyClass.my_method would the the result of a_hash.merge(...) method call and it should not be indented since it starts on the same line. The arguments to a_hash.merge though are indented relative to the line the method was called on, so it should also be ok.
Actual behavior
code.rb:2:3: C: Style/FirstParameterIndentation: Indent the first parameter one step more than a_hash.merge(.
hello: :world, ...
^^^^^^^^^^^^^^
RuboCop version
$ rubocop -V
0.48.1
singpolyma-shopify, chinigo, shipstar and ddgromit