aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/.rubocop.yml4
-rw-r--r--Library/Homebrew/cmd/style.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 944f00a35..7306009f3 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 38e3bcab8..dbfd9da1c 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",