Merge pull request #14850 from issyl0/rubocop-consolidation
rubocop: Consolidate more rules into the right files
This commit is contained in:
commit
a3cc4bcc59
@ -338,6 +338,8 @@ Style/BarePercentLiterals:
|
||||
|
||||
# make rspec formatting more flexible
|
||||
Style/BlockDelimiters:
|
||||
BracesRequiredMethods:
|
||||
- "sig"
|
||||
Exclude:
|
||||
- "Homebrew/**/*_spec.rb"
|
||||
- "Homebrew/**/shared_examples/**/*.rb"
|
||||
@ -367,10 +369,6 @@ Style/Documentation:
|
||||
- "**/{Formula,Casks}/**/*.rb"
|
||||
- "**/*.rbi"
|
||||
|
||||
Style/DocumentationMethod:
|
||||
Include:
|
||||
- "Homebrew/formula.rb"
|
||||
|
||||
# This is quite a large change, so don't enforce this yet for formulae.
|
||||
# We should consider doing so in the future, but be aware of the impact on third-party taps.
|
||||
Style/FetchEnvVar:
|
||||
|
||||
@ -60,13 +60,13 @@ Style/Documentation:
|
||||
- utils/string_inreplace_extension.rb
|
||||
- version.rb
|
||||
|
||||
Style/DocumentationMethod:
|
||||
Include:
|
||||
- "formula.rb"
|
||||
|
||||
Style/HashAsLastArrayItem:
|
||||
Exclude:
|
||||
- "test/utils/spdx_spec.rb"
|
||||
|
||||
Style/BlockDelimiters:
|
||||
BracesRequiredMethods:
|
||||
- "sig"
|
||||
|
||||
Bundler/GemFilename:
|
||||
Enabled: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user