diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 32c51e0a76..f8c0bf1a5e 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -14,7 +14,7 @@ AllCops: NewCops: enable Exclude: - 'Homebrew/bin/*' - - 'Homebrew/**/vendor/**/*' + - 'Homebrew/vendor/**/*' Cask/Desc: Description: 'Ensure that the desc stanza conforms to various content and style checks.' diff --git a/Library/.rubocop_rspec.yml b/Library/.rubocop_rspec.yml index 403b340814..d6e237d000 100644 --- a/Library/.rubocop_rspec.yml +++ b/Library/.rubocop_rspec.yml @@ -1,17 +1,5 @@ inherit_from: ./.rubocop.yml -AllCops: - Include: - - '**/cmd/**/*.rb' - - '**/lib/**/*.rb' - - '**/spec/**/*.rb' - Exclude: - - '**/vendor/**/*' - -# allow style to be disabled in non-formulae code -Style/DisableCopsWithinSourceCodeDirective: - Enabled: false - # Intentionally disabled as it doesn't fit with our code style. RSpec/AnyInstance: Enabled: false