From 6d6c59a1fdecbb1d46540b490a7b1c979ac721e7 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 31 Aug 2020 04:24:43 +0200 Subject: [PATCH] Simplify `.rubocop_rspec.yml`. --- Library/.rubocop.yml | 2 +- Library/.rubocop_rspec.yml | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) 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