aboutsummaryrefslogtreecommitdiffstats
path: root/Library/.rubocop.yml
diff options
context:
space:
mode:
authorAlyssa Ross2017-02-12 15:06:54 +0000
committerAlyssa Ross2017-02-12 15:11:38 +0000
commit9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 (patch)
tree78353f4e7cfe59f5da266a951939c868db11c170 /Library/.rubocop.yml
parent76dfe030c70cde3aee731e5a68b82b9ac227b89c (diff)
downloadbrew-9e97eadccbd99df1c6ffe489ab316d7ebde7fe86.tar.bz2
rubocop: trailing comma in multiline method calls
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
Diffstat (limited to 'Library/.rubocop.yml')
-rw-r--r--Library/.rubocop.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 30b9ec81e..314467ef0 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -168,6 +168,8 @@ Style/TernaryParentheses:
# makes diffs nicer
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
+Style/TrailingCommaInArguments:
+ EnforcedStyleForMultiline: comma
Style/VariableNumber:
Enabled: false