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 inherit_mode for arrays in extension default #9952

Merged
merged 1 commit into from Aug 3, 2021

Commits on Aug 3, 2021

  1. Fix inherit_mode for arrays in extension default

    See rubocop/rubocop-rspec#1126
    
    `config/default.yml`:
    ```yaml
    RSpec:
      Language:
        Examples:
          inherit_mode:
            merge:
              - Regular
          Regular:
            - it
            - specify
            - example
            - scenario
            - its
    ```
    
    `.rubocop.yml`:
    ```yaml
    require:
      - rubocop-rspec
    
    RSpec:
      Language:
        Examples:
          Regular:
            - mycustomexamplealias
    ```
    
    Previously, locally-set `inherit_mode` in extension default
    configuration was not respected.
    pirj committed Aug 3, 2021
    Copy the full SHA
    22a1397 View commit details
    Browse the repository at this point in the history