Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow departments to be enabled/disabled by users
Over in rubocop/rubocop#9752 we figured out that the reason end-users can't enable/disable Cookstyle departments is because `Enabled` isn't in the config and thus [can't be overridden](rubocop/rubocop#9752 (comment)). This change will allow a user to not only do the obvious: ```yaml Chef/Correctness: Enabled: false ``` But more interestingly do something like this: ```yaml AllCops: DisabledByDefault: true Chef/Correctness: Enabled: true ``` CC @jonas054 Signed-off-by: Phil Dibowitz <phil@ipom.com>
- Loading branch information