diff --git a/.rubocop.yml b/.rubocop.yml index cd120e8581c7cd2137d48c668459b4e0dcd90d78..5d89b73fe2b96e5fa47fa1c6611a8e43f1e4b85b 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 4da79899831f1409eb982e71141f3f49141a0cee..d065b2460506e38cc10f96b0a2025e790ecc4dc5 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.