aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGautham Goli2017-06-30 11:43:47 +0530
committerGautham Goli2017-06-30 20:25:18 +0530
commite6938d920165e3be872366216d618ca01da83fbb (patch)
tree237d95b9c4b32f1d9d6b32f4be2fec5917074645 /Library
parent8c167b23cce58a155da34c14ebe994601534ff2f (diff)
downloadbrew-e6938d920165e3be872366216d618ca01da83fbb.tar.bz2
Enable LegacyPatches cop
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml3
-rw-r--r--Library/Homebrew/rubocops.rb1
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"