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
|
# make rspec formatting more flexible
|
||||||
Style/BlockDelimiters:
|
Style/BlockDelimiters:
|
||||||
|
BracesRequiredMethods:
|
||||||
|
- "sig"
|
||||||
Exclude:
|
Exclude:
|
||||||
- "Homebrew/**/*_spec.rb"
|
- "Homebrew/**/*_spec.rb"
|
||||||
- "Homebrew/**/shared_examples/**/*.rb"
|
- "Homebrew/**/shared_examples/**/*.rb"
|
||||||
@ -367,10 +369,6 @@ Style/Documentation:
|
|||||||
- "**/{Formula,Casks}/**/*.rb"
|
- "**/{Formula,Casks}/**/*.rb"
|
||||||
- "**/*.rbi"
|
- "**/*.rbi"
|
||||||
|
|
||||||
Style/DocumentationMethod:
|
|
||||||
Include:
|
|
||||||
- "Homebrew/formula.rb"
|
|
||||||
|
|
||||||
# This is quite a large change, so don't enforce this yet for formulae.
|
# 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.
|
# We should consider doing so in the future, but be aware of the impact on third-party taps.
|
||||||
Style/FetchEnvVar:
|
Style/FetchEnvVar:
|
||||||
|
|||||||
@ -60,13 +60,13 @@ Style/Documentation:
|
|||||||
- utils/string_inreplace_extension.rb
|
- utils/string_inreplace_extension.rb
|
||||||
- version.rb
|
- version.rb
|
||||||
|
|
||||||
|
Style/DocumentationMethod:
|
||||||
|
Include:
|
||||||
|
- "formula.rb"
|
||||||
|
|
||||||
Style/HashAsLastArrayItem:
|
Style/HashAsLastArrayItem:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "test/utils/spdx_spec.rb"
|
- "test/utils/spdx_spec.rb"
|
||||||
|
|
||||||
Style/BlockDelimiters:
|
|
||||||
BracesRequiredMethods:
|
|
||||||
- "sig"
|
|
||||||
|
|
||||||
Bundler/GemFilename:
|
Bundler/GemFilename:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user