# Version: - Chef Workstation: 22.7.1006 (Stable) - Cookstyle 7.32.1 / RuboCop 1.25.1 # Environment: - OS: macOS 12.5.1 # Scenario: Linting cookbooks # Steps to Reproduce: 0. `mkdir -p ~/.config/rubocop; echo 'Style/RedundantInitialize: { Enabled: true }' > ~/.config/rubocop/config.yml` 1. `cookstyle` # Expected Result: 0. Ignore vanilla global rubocop config and not crash # Actual Result: ``` Error: unrecognized cop or department Style/RedundantInitialize found in {{home dir}}/.config/rubocop/config.yml ```
Version:
Environment:
Scenario:
Linting cookbooks
Steps to Reproduce:
mkdir -p ~/.config/rubocop; echo 'Style/RedundantInitialize: { Enabled: true }' > ~/.config/rubocop/config.ymlcookstyleExpected Result:
Actual Result: