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

Pull example group node matchers up #934

Merged
merged 1 commit into from Jul 1, 2020

Commits on Jun 14, 2020

  1. Pull example group node matchers up

    This refactors to add `shared_group?` and `spec_group?` node matchers in
    `NodePattern` for use across cops. I wanted to check shared contexts in
    the [rule that I'm working on][1] and noticed that there were similar
    implementations in a handful of other places. I thought it was probably
    worth abstracting upwards.
    
    [1]: rubocop#863
    mockdeep committed Jun 14, 2020
    Copy the full SHA
    b327884 View commit details
    Browse the repository at this point in the history