-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single, double and auto quotes #191
Labels
Milestone
Comments
Custom formatting is low-priority and won't be tackled soon. However, a pull request is welcome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
As a developer, I'd like to use
astring
as a part of a code transformation toolchain and pick the type of quotes that are going to be rendered.Expected behavior
It should be possible to pass a
quotes
option that accepts:single | double | auto
that change the quotes in the output.Actual behavior
The library preserves existing quotes automatically (which is how
auto
mode works).Implementation notes
The change would be non-breaking as the flag could be set to
auto
by default.The text was updated successfully, but these errors were encountered: