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 false positive in Layout/DotPosition #10207

Merged
merged 1 commit into from Oct 22, 2021
Merged

Commits on Oct 22, 2021

  1. Fix false positive in Layout/DotPosition

    This fixes a false positive in Layout/DotPosition where an offense would
    be registered for the trailing style when the receiver was a method call
    with multiline arguments, and the selector was on the same line as the
    receiver's closing bracket.
    
    For example, before this change, the following offense would be registered:
    
        foo(
          bar
        ).baz
         ^ Place the . on the previous line, together with the method call receiver.
    mvz committed Oct 22, 2021
    Copy the full SHA
    53bac7e View commit details
    Browse the repository at this point in the history