Skip to content

Commit

Permalink
Merge pull request #589 from Shopify/enforce-frozen-string-literal-true
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Nov 9, 2023
2 parents bdb3e6b + e400d35 commit 3a104d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/full_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2894,7 +2894,7 @@ Style/FrozenStringLiteralComment:
Enabled: true
VersionAdded: '0.36'
VersionChanged: '0.79'
EnforcedStyle: always
EnforcedStyle: always_true
SupportedStyles:
- always
- always_true
Expand Down

0 comments on commit 3a104d9

Please sign in to comment.