Skip to content
New issue

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

[Fix #9641] Fix Layout/MultilineMethodCallIndentation triggering on method calls that look like operators #9642

Merged
merged 1 commit into from
Mar 27, 2021

Commits on Mar 26, 2021

  1. [Fix rubocop#9641] Fix Layout/MultilineMethodCallIndentation trigge…

    …ring on method calls that look like operators.
    
    `right_hand_side` was not correctly calculating when the send node looks like an operator but has a receiver (ie. `foo.&`). This was leading to an autocorrection loop with `Layout/ArgumentAlignment`, `Layout/ClosingParenthesisIndentation` and `Layout/FirstArgumentIndentation`.
    dvandersluis committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    dd7dba8 View commit details
    Browse the repository at this point in the history