Skip to content

style: Fix Style/StringLiterals offenses - #2744

Merged
mroderick merged 1 commit into
masterfrom
fix/rubocop-style-string-literals
Jul 28, 2026
Merged

style: Fix Style/StringLiterals offenses#2744
mroderick merged 1 commit into
masterfrom
fix/rubocop-style-string-literals

Conversation

@mroderick

Copy link
Copy Markdown
Collaborator

Fix Style/StringLiterals by preferring single-quoted strings where interpolation or special symbols are not needed.

  • 173 offenses fixed, all autocorrected
  • Offense count: 1386 → 1213 (−173)
  • bundle exec rubocop is green
  • Affected specs pass when run by directory (controllers, models, mailers, presenters, services, components, serializers, lib — all 0 failures)

Fix 173 offenses by preferring single-quoted strings where interpolation
or special symbols are not needed, and regenerate .rubocop_todo.yml.
@mroderick
mroderick marked this pull request as ready for review July 28, 2026 07:31
@mroderick
mroderick merged commit 52eb897 into master Jul 28, 2026
9 checks passed
@mroderick
mroderick deleted the fix/rubocop-style-string-literals branch July 28, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant