From f20e125bc12dd62a505365023a1ae41f355d83e9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 20 Nov 2019 17:12:40 +0000 Subject: rubocop: disable Style/TrailingCommaInHashLiteral git-svn-id: http://svn.redmine.org/redmine/trunk@19109 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 5786dfc09..864bf0c45 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -107,3 +107,6 @@ Style/IdenticalConditionalBranches: Style/TrailingCommaInArrayLiteral: Enabled: false + +Style/TrailingCommaInHashLiteral: + Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5f2dfc681..c06a2591b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1565,12 +1565,6 @@ Style/SymbolProc: Style/TernaryParentheses: Enabled: false -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleForMultiline. -# SupportedStylesForMultiline: comma, consistent_comma, no_comma -Style/TrailingCommaInHashLiteral: - Enabled: false - # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist. # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym -- cgit v1.2.3