rubocop: disable Style/TrailingCommaInHashLiteral

git-svn-id: http://svn.redmine.org/redmine/trunk@19109 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-20 17:12:40 +00:00
parent 8db904c401
commit f20e125bc1
2 changed files with 3 additions and 6 deletions

View File

@@ -107,3 +107,6 @@ Style/IdenticalConditionalBranches:
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false

View File

@@ -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