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