diff --git a/.rubocop.yml b/.rubocop.yml index 21e7490c7..7a36a1e04 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -50,3 +50,7 @@ Style/SymbolArray: # I'm not keen on this cop, because it's easy to miss the while/until Style/WhileUntilModifier: Enabled: false + +# frozen_string_literal magic comment has only been supported since Ruby v2.3 +Style/FrozenStringLiteralComment: + Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 8f78b8662..e7e29ba1c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -93,13 +93,6 @@ Style/AccessModifierDeclarations: Style/Documentation: Enabled: false -# Offense count: 237 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: when_needed, always, never -Style/FrozenStringLiteralComment: - Enabled: false - # Offense count: 777 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https