From 37027725a268a0ff84f882c836cd318213c034de Mon Sep 17 00:00:00 2001 From: Hillius Ettinoffe Date: Thu, 17 May 2018 20:02:34 -0400 Subject: [PATCH] TrailingCommaInLiteral was split in rubocop 0.53.0 https://github.com/bbatsov/rubocop/blob/v0.53.0/CHANGELOG.md https://github.com/bbatsov/rubocop/issues/3394 https://github.com/bbatsov/rubocop/pull/5307/files#diff-e93280b3b31a6438c533a5f3232340d8 --- .rubocop.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 3c68445..53a71d0 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -50,5 +50,8 @@ Style/SpaceInsideHashLiteralBraces: Style/StringLiterals: EnforcedStyle: double_quotes -Style/TrailingCommaInLiteral: +Style/TrailingCommaInHashLiteral: + EnforcedStyleForMultiline: 'comma' + +Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: 'comma'