From 407c8abf301acd2ee8c4e4d0d35942dbc2ee04da Mon Sep 17 00:00:00 2001 From: David Cornu Date: Fri, 19 Oct 2018 14:52:16 -0400 Subject: [PATCH] Use TrailingCommaInLiteral TrailingCommaInArrayLiteral and TrailingCommaInHashLiteral were introduced in v0.53.0 and we're running v0.49.0. https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0530-2018-03-05 --- .rubocop.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4e18078..a622ef1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -71,10 +71,7 @@ Style/Documentation: Style/ClassAndModuleChildren: Enabled: false -Style/TrailingCommaInArrayLiteral: - Enabled: false - -Style/TrailingCommaInHashLiteral: +Style/TrailingCommaInLiteral: Enabled: false Layout/IndentHash: @@ -125,6 +122,6 @@ Style/TrivialAccessors: Style/WordArray: Enabled: false -Naming/MethodName: +Style/MethodName: Exclude: - 'example/server/liquid_servlet.rb'