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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix false positives for Lint/ParenthesesAsGroupedExpression #8039

Commits on Jul 1, 2020

  1. Fix false positives for Lint/ParenthesesAsGroupedExpression

    This PR fixes the following false positive for `Lint/ParenthesesAsGroupedExpression`
    
    when an expression is followed by an operator
    
    ```ruby
    func (x) || y
    ```
    
    when an expression is followed by a chain of functions
    
    ```ruby
    func (x).func.func.func.func.func
    ```
    
    This PR adds some reproduction test
    camille committed Jul 1, 2020
    Copy the full SHA
    5421042 View commit details
    Browse the repository at this point in the history