plugin-pug: Bug: Doesn't take the singleQuote option
Since the 1.0.10, singlequote are transformed into double quotes even if I set singleQuote option. I tried with the 1.0.9 and I donβt have this bug.
For example:
- const faker = require('faker')
is transformed into
- const faker = require("faker")
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28 (18 by maintainers)
@Applelo Thank to the lovely work of @shadowgate15 we now released https://www.npmjs.com/package/@prettier/plugin-pug/v/1.18.0 β€οΈ π
Spolier: it wonβt work π sorry π
Need to investigate more, also maybe I need to create a breaking change π¬
Sorry to not have test your previous answer. I was and I am currently busy at work. I test this when I have time π
No problem, take your time. Your are already nice to answer to my requests ^^
Sorry, but I think I will only find time next weekend
Yeah, maybe in the future I will work with Vue and Pug. I will make you soon a sample with complex pug code.
Ok, using another formatter means a huge problem π
So I will work on it the next days
I need two things from you