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
1.19.2
2.5.1
16
{ "singleQuote": true }
mixin form(method, action, target, push) - methodOverride = method != 'GET' && method != 'POST'; - push = push ? 'true' : false; form( method=methodOverride ? 'POST' : method, action=action, hx-target=target, hx-push-url=push )&attributes(attributes) if methodOverride //- _method is from //- https://www.npmjs.com/package/fastify-method-override input(type='hidden', name='_method', value=method) block mixin get(action, target, push) +form("GET", action, target, push)&attributes(attributes) block
✔️ strings in JavaScript code get singleQuote ✔️ attribute values get singleQuote ❌ mixin arguments remain double-quoted
✔️ mixin arguments get singleQuote as well
also, pugSingleQuote doesn't work - #174
The text was updated successfully, but these errors were encountered:
Duplicate of #66
See #66 (comment)
Sorry, something went wrong.
singleQuote mixin parameters
145d1a0
prettier/plugin-pug#332
No branches or pull requests
Plugin Version
1.19.2
Prettier Version
2.5.1
Which frameworks are affected?
Node Version
16
Which operating systems have you used?
Prettier config
Input
Output or Error
✔️ strings in JavaScript code get singleQuote ✔️ attribute values get singleQuote ❌ mixin arguments remain double-quoted
Expected Output
Additional Context
also, pugSingleQuote doesn't work - #174
The text was updated successfully, but these errors were encountered: