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