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

Allow parentheses in operator method calls for Style/MethodCallWithArgsParentheses #9620

Merged

Commits on Mar 22, 2021

  1. Allow parentheses in operator method calls for `Style/MethodCallWithA…

    …rgsParentheses`
    
    While calls like `data&.[] value`, `value.=== other` do compile, I won't
    blame people if they want to leave the parentheses so they know what's
    going on.
    
    I'm proposing we legitimize the parens when calling operator methods.  I
    don't think this deserves extra configuration.
    gsamokovarov committed Mar 22, 2021
    Copy the full SHA
    a6a1429 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2e6fec1 View commit details
    Browse the repository at this point in the history