diff options
| author | Gautham Goli | 2017-06-30 11:43:47 +0530 |
|---|---|---|
| committer | Gautham Goli | 2017-06-30 20:25:18 +0530 |
| commit | e6938d920165e3be872366216d618ca01da83fbb (patch) | |
| tree | 237d95b9c4b32f1d9d6b32f4be2fec5917074645 /Library | |
| parent | 8c167b23cce58a155da34c14ebe994601534ff2f (diff) | |
| download | brew-e6938d920165e3be872366216d618ca01da83fbb.tar.bz2 | |
Enable LegacyPatches cop
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop.yml | 3 | ||||
| -rw-r--r-- | Library/Homebrew/rubocops.rb | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 703912781..dbff189ef 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -33,6 +33,9 @@ FormulaAuditStrict/ComponentsRedundancy: FormulaAudit/Homepage: Enabled: true +FormulaAudit/LegacyPatches: + Enabled: true + # `system` is a special case and aligns on second argument Layout/AlignParameters: Enabled: false diff --git a/Library/Homebrew/rubocops.rb b/Library/Homebrew/rubocops.rb index 4710654fa..e27f91867 100644 --- a/Library/Homebrew/rubocops.rb +++ b/Library/Homebrew/rubocops.rb @@ -6,3 +6,4 @@ require_relative "./rubocops/homepage_cop" require_relative "./rubocops/text_cop" require_relative "./rubocops/caveats_cop" require_relative "./rubocops/checksum_cop" +require_relative "./rubocops/legacy_patches_cop" |
