Allow unused keyword arguments.

This commit is contained in:
Markus Reiter 2018-07-08 20:08:51 +02:00
parent 5b3bbb76c9
commit bf856117ba
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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]