summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-20 17:12:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-20 17:12:40 +0000
commitf20e125bc12dd62a505365023a1ae41f355d83e9 (patch)
treedb407ad0611ea96ec30ee993a6c7749b3fc51cef
parent8db904c4011d335676b1d0a2c2b89a0d111c2b05 (diff)
downloadredmine-f20e125bc12dd62a505365023a1ae41f355d83e9.tar.gz
redmine-f20e125bc12dd62a505365023a1ae41f355d83e9.zip
rubocop: disable Style/TrailingCommaInHashLiteral
git-svn-id: http://svn.redmine.org/redmine/trunk@19109 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop.yml3
-rw-r--r--.rubocop_todo.yml6
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
@@ -1566,12 +1566,6 @@ 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
Style/TrivialAccessors: