We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
astring
It should be possible to pass a quotes option that accepts: single | double | auto that change the quotes in the output.
quotes
single | double | auto
The library preserves existing quotes automatically (which is how auto mode works).
auto
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:
Custom formatting is low-priority and won't be tackled soon. However, a pull request is welcome.
Sorry, something went wrong.
No branches or pull requests
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: