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 #7850] Make it possible to enable/disable pending cops #7856

Merged

Commits on Apr 7, 2020

  1. [Fix rubocop#7850] Make it possible to enable/disable pending cops

    Resolves rubocop#7850.
    
    This PR will add `--enable-pending-cops` and `--disable-pending-cops`
    command-line options and `NewCops` will be provided in .rubocop.yml.
    
    When `NewCops` is `enable`, pending cops are enabled in bulk.
    
    ```yaml
    AllCops:
      NewCops: enable
    ```
    
    Can be overridden by the `--enable-pending-cops` command-line option.
    
    When `NewCops` is `disable`, pending cops are disabled in bulk.
    
    ```yaml
    AllCops:
      NewCops: disable
    ```
    
    Can be overridden by the `--disable-pending-cops` command-line option.
    
    The default value of `NewCops` is `pending`.
    koic committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    544edbf View commit details
    Browse the repository at this point in the history