Merge pull request #16577 from apainintheneck/exclude-more-tap-files-from-top-level-method-cop
rubocop: exclude more tap files from the top-level method cop
This commit is contained in:
commit
34882f51a8
@ -374,7 +374,7 @@ Style/NumericLiterals:
|
||||
|
||||
Style/OpenStructUse:
|
||||
Exclude:
|
||||
- "Taps/**/*.rb"
|
||||
- "Taps/**/*"
|
||||
# TODO: This is a pre-existing violation and should be corrected
|
||||
# to define methods so that call sites can be type-checked.
|
||||
- "Homebrew/cli/args.rb"
|
||||
@ -427,7 +427,7 @@ Style/TernaryParentheses:
|
||||
Style/TopLevelMethodDefinition:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
- "Taps/**/*.rb"
|
||||
- "Taps/**/*"
|
||||
|
||||
# Trailing commas make diffs nicer.
|
||||
Style/TrailingCommaInArguments:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user