diff options
| author | Mike McQuaid | 2015-09-09 09:42:21 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-09-09 09:42:21 +0100 |
| commit | 657f4ca2ce6230d2e770f501b496b1cbb2cede00 (patch) | |
| tree | 6a206bc3c4fd9bc0d3d9d71151d0991cb8b860cd /Library | |
| parent | 312abc620c8d48619c4df90743b4244aaff336fb (diff) | |
| download | brew-657f4ca2ce6230d2e770f501b496b1cbb2cede00.tar.bz2 | |
rubocop: allow consistent trailing commas.
Makes diffs nicer. Could maybe be changed to `comma` to be stricter.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 4503ada35..07291eb6c 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -123,3 +123,7 @@ Style/PerlBackrefs: # this is required for Ruby 1.8 Style/DotPosition: EnforcedStyle: trailing + +# makes diffs nicer +Style/TrailingComma: + EnforcedStyleForMultiline: consistent_comma |
