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 #3646] Add new Lint/EmptyWhen cop #3651

Merged
merged 1 commit into from Oct 19, 2016

Commits on Oct 19, 2016

  1. [Fix rubocop#3646] Add new Lint/EmptyWhen cop

    This cop checks for `when` branches with empty bodies, e.g.:
    
    ```
    case foo
    when :bar then 1
    when :baz #nothing
    end
    ```
    Drenmi committed Oct 19, 2016
    Copy the full SHA
    b0d4b36 View commit details
    Browse the repository at this point in the history