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