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:
|
Style/OpenStructUse:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "Taps/**/*.rb"
|
- "Taps/**/*"
|
||||||
# TODO: This is a pre-existing violation and should be corrected
|
# TODO: This is a pre-existing violation and should be corrected
|
||||||
# to define methods so that call sites can be type-checked.
|
# to define methods so that call sites can be type-checked.
|
||||||
- "Homebrew/cli/args.rb"
|
- "Homebrew/cli/args.rb"
|
||||||
@ -427,7 +427,7 @@ Style/TernaryParentheses:
|
|||||||
Style/TopLevelMethodDefinition:
|
Style/TopLevelMethodDefinition:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Exclude:
|
Exclude:
|
||||||
- "Taps/**/*.rb"
|
- "Taps/**/*"
|
||||||
|
|
||||||
# Trailing commas make diffs nicer.
|
# Trailing commas make diffs nicer.
|
||||||
Style/TrailingCommaInArguments:
|
Style/TrailingCommaInArguments:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user