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 safe navigation calls for Style/MethodCallWithArgsParentheses #9612

Closed

Commits on Mar 17, 2021

  1. Allow parentheses in safe navigation calls for `Style/MethodCallWithA…

    …rgsParentheses`
    
    While calls like `foo&.[] bar` 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 in `foo&.[](bar)` and any other
    safe navigation calls. I don't think this deserves extra configuration
    either.
    gsamokovarov committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    f6cbc01 View commit details
    Browse the repository at this point in the history