Allow unused keyword arguments.
This commit is contained in:
parent
5b3bbb76c9
commit
bf856117ba
@ -31,6 +31,9 @@ Lint/NestedMethodDefinition:
|
||||
Lint/ParenthesesAsGroupedExpression:
|
||||
Enabled: true
|
||||
|
||||
Lint/UnusedMethodArgument:
|
||||
AllowUnusedKeywordArguments: true
|
||||
|
||||
# TODO: try to bring down all metrics maximums
|
||||
Metrics/AbcSize:
|
||||
Max: 250
|
||||
|
||||
@ -30,6 +30,10 @@ module Homebrew
|
||||
args << "--parallel"
|
||||
end
|
||||
|
||||
if ARGV.verbose?
|
||||
args += ["--extra-details", "--display-cop-names"]
|
||||
end
|
||||
|
||||
if ARGV.include?("--rspec")
|
||||
Homebrew.install_gem! "rubocop-rspec"
|
||||
args += %w[--require rubocop-rspec]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user