diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 67b37c111c..2ca6bc1722 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -5,7 +5,9 @@ AllCops: - '**/vendor/**/*' DisplayCopNames: false -require: ./Homebrew/rubocops.rb +require: + - rubocop-rspec + - ./Homebrew/rubocops.rb # enable all formulae audits FormulaAudit: diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index ca95138c05..7e7dedb498 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -23,7 +23,6 @@ module Homebrew require "rubocops" args = %w[ - --require rubocop-rspec --force-exclusion ] if fix