diff options
| -rw-r--r-- | Library/.rubocop.yml | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/style.rb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index fd42fd023..2d22fe4f8 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -28,7 +28,7 @@ FormulaAuditStrict/Options: Enabled: true NewFormulaAudit/Options: - Enabled: false + Enabled: true FormulaAuditStrict/BottleBlock: Enabled: true diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 7158fe5b9..14499f24b 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -47,7 +47,9 @@ module Homebrew elsif !except_cops.empty? options[:except_cops] = except_cops elsif only_cops.empty? && except_cops.empty? - options[:except_cops] = %w[FormulaAuditStrict FormulaAudit] + options[:except_cops] = %w[FormulaAudit + FormulaAuditStrict + NewFormulaAudit] end Homebrew.failed = check_style_and_print(target, options) |
