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

Support Ruby 2.7's pattern matching for Style/ConditionalAssignment #9948

Commits on Jul 23, 2021

  1. Support Ruby 2.7's pattern matching for Style/ConditionalAssignment

    This PR supports Ruby 2.7's pattern matching for `Style/ConditionalAssignment`.
    
    This `Style/IdenticalConditionalBranches` cop is detecting for `if` and `case`.
    Therefore, I think about detecting `case-match` with the cop instead of a new cop.
    koic committed Jul 23, 2021
    Copy the full SHA
    4a5c781 View commit details
    Browse the repository at this point in the history