Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix #2343] Groups of cops can be disabled in rubocop.yml
Using the cop type, it is now possible to do this: Style: Enabled: false Performance: Enabled: false ...and so on. If there are settings for both a cop type and a cop of that type, then if either of them has `Enabled: false`, the cop will be disabled, UNLESS it is specified in an `--only` CLI argument.
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters