From e6938d920165e3be872366216d618ca01da83fbb Mon Sep 17 00:00:00 2001 From: Gautham Goli Date: Fri, 30 Jun 2017 11:43:47 +0530 Subject: [PATCH] Enable LegacyPatches cop --- Library/.rubocop.yml | 3 +++ Library/Homebrew/rubocops.rb | 1 + 2 files changed, 4 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 7039127819..dbff189efd 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 4710654fa2..e27f918676 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"