From d16b241f4c0dcb0a531003e5a50f4b1d26355198 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Wed, 1 Mar 2023 00:02:30 +0000 Subject: [PATCH] rubocop: Consolidate `Style/BlockDelimiters` config into one file --- Library/.rubocop.yml | 2 ++ Library/Homebrew/.rubocop.yml | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 6bf5aa9c81..4b579cd488 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -338,6 +338,8 @@ Style/BarePercentLiterals: # make rspec formatting more flexible Style/BlockDelimiters: + BracesRequiredMethods: + - "sig" Exclude: - "Homebrew/**/*_spec.rb" - "Homebrew/**/shared_examples/**/*.rb" diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index cf9bf49b69..3015754abc 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -68,9 +68,5 @@ Style/HashAsLastArrayItem: Exclude: - "test/utils/spdx_spec.rb" -Style/BlockDelimiters: - BracesRequiredMethods: - - "sig" - Bundler/GemFilename: Enabled: false