Rubocop: upgrade to version 0.36.0
Stop using Style/TrailingComma as it is no longer recognized and start using Style/TrailingCommaInArguments and Style/TrailingCommaInLiteral instead. Closes Homebrew/homebrew#48144. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
f92fc98ec0
commit
3e0828c29a
@ -125,5 +125,7 @@ Style/DotPosition:
|
||||
EnforcedStyle: trailing
|
||||
|
||||
# makes diffs nicer
|
||||
Style/TrailingComma:
|
||||
Style/TrailingCommaInArguments:
|
||||
EnforcedStyleForMultiline: no_comma
|
||||
Style/TrailingCommaInLiteral:
|
||||
EnforcedStyleForMultiline: comma
|
||||
|
@ -8,7 +8,7 @@ module Homebrew
|
||||
ARGV.formulae.map(&:path)
|
||||
end
|
||||
|
||||
Homebrew.install_gem_setup_path! "rubocop", "0.35.1"
|
||||
Homebrew.install_gem_setup_path! "rubocop", "0.36.0"
|
||||
|
||||
args = [
|
||||
"--format", "simple", "--force-exclusion", "--config",
|
||||
|
Loading…
x
Reference in New Issue
Block a user