diff --git a/rubocop.yml b/rubocop.yml index 4ed86f65..4e1c6270 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -548,6 +548,7 @@ Style/FormatStringToken: Style/FrozenStringLiteralComment: SafeAutoCorrect: true + EnforcedStyle: always_true Details: 'Add `# frozen_string_literal: true` to the top of the file. Frozen string literals will become the default in a future Ruby version, and we want to make sure we''re ready.' diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index 098cdaf0..d51dec6f 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -2894,7 +2894,7 @@ Style/FrozenStringLiteralComment: Enabled: true VersionAdded: '0.36' VersionChanged: '0.79' - EnforcedStyle: always + EnforcedStyle: always_true SupportedStyles: - always - always_true