diff --git a/.rubocop.yml b/.rubocop.yml index cd120e8581c..5d89b73fe2b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -452,6 +452,9 @@ Style/Tab: Style/TrailingBlankLines: Enabled: true +Style/TrailingCommaInLiteral: + Enabled: false + # Checks for %W when interpolation is not needed. Style/UnneededCapitalW: Enabled: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4da79899831..d065b246050 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -794,13 +794,6 @@ Style/TernaryParentheses: Style/TrailingCommaInArguments: Enabled: false -# Offense count: 158 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. -# SupportedStyles: comma, consistent_comma, no_comma -Style/TrailingCommaInLiteral: - Enabled: false - # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: AllowNamedUnderscoreVariables.