Skip to content

Conversation

@martinemde
Copy link
Collaborator

The result of disabling quote enforcement has mostly fallen into two categories:

  1. "yay, now we can require double quotes!"
  2. "ugh, our project is so inconsistent, I wish we could just pick one."

Since most of the projects adopting double quotes are smaller projects, we propose changing the default to double quotes, and then disabling directly in the larger apps where switching is painful.

Benefits:

  • Consistent, ruby-standard styling (almost everything comes with or generates double quotes)
  • New projects automatically stay consistent.
  • Old projects don't have to change and can continue to disable quoting rules.

Switching quoting is a reliable and safe autocorrect, so correcting projects that pull code from a single-quoted project into a new project should be painless to correct as part of the rest of the project setup.

@martinemde martinemde force-pushed the enforce-double-quotes branch from 8c89a12 to 27e92af Compare August 1, 2025 00:29
@martinemde martinemde force-pushed the enforce-double-quotes branch from 27e92af to 66716ea Compare August 6, 2025 22:24
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