diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-03 13:27:17 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-05-10 18:25:45 +0200 |
commit | 3db37e05622aa3daa2be41bb9edc486cd2e54bcd (patch) | |
tree | c32b151da8174e8a3c925dc2720ea8d47ee5d4cf /.rubocop.yml | |
parent | d40e1f547ea9e31e822229bb808aaa6b9201f473 (diff) | |
download | gitlab-ce-3db37e05622aa3daa2be41bb9edc486cd2e54bcd.tar.gz |
Enable the Style/TrailingCommaInArguments cop
Use the EnforcedStyleForMultiline: no_comma option.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 7438763984d..4e1d456d8d1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -497,6 +497,11 @@ Style/TrailingCommaInLiteral: Enabled: true EnforcedStyleForMultiline: no_comma +# This cop checks for trailing comma in argument lists. +Style/TrailingCommaInArguments: + Enabled: true + EnforcedStyleForMultiline: no_comma + # Checks for %W when interpolation is not needed. Style/UnneededCapitalW: Enabled: true |