Conflict between Layout/ArgumentAlignment
and Layout/FirstHashElementIndentation
#9829
Labels
Layout/ArgumentAlignment
and Layout/FirstHashElementIndentation
#9829
Given the config:
With this code:
Layout/ArgumentAlignment
offenses are registered on the 3 indicated lines.It seems that
Layout/ArgumentAlignment
wants this:This looks odd, but also then causes a violation on
Layout/FirstHashElementIndentation
.Layout/FirstHashElementIndentation
seems to want this:Expected behavior
This should be acceptable:
Actual behavior
Rubocop is impossible to please and hits an infinite loop attempting to autocorrect.
Steps to reproduce the problem
Run Rubocop using the config and code specified above.
RuboCop version
The text was updated successfully, but these errors were encountered: