diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 944f00a35e..7306009f3c 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -125,5 +125,7 @@ Style/DotPosition: EnforcedStyle: trailing # makes diffs nicer -Style/TrailingComma: +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: no_comma +Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: comma diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 38e3bcab89..dbfd9da1c8 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -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",