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 a false positive for Lint/ParenthesesAsGroupedExpression #7909

Commits on May 7, 2020

  1. Fix a false positive for Lint/ParenthesesAsGroupedExpression

    This PR fixes a false positive for `Lint/ParenthesesAsGroupedExpression`
    when using an intended grouped parentheses.
    
    ```ruby
    puts (2 + 3) * 4
    ```
    
    I noticed this false positive in implementing this cop's auto-correction.
    So, I plan to open a PR that implements auto-correction separately from
    this PR.
    koic committed May 7, 2020
    Copy the full SHA
    5d5cf77 View commit details
    Browse the repository at this point in the history