aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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"