Closed MrVladevoit closed 3 months ago
- Prettier started to fix
// ...
single comments to multi-line/* ... */
.
same issue
Can you provide all this in a minimum reproduction repository so myself or @dartess can more easily debug?
Got a reproducible example. I'm trying to figure it out.
upd: it's alive!
Thanks for the fast fixup @dartess!
Fix has been published in v5.0.2
@dartess thank you for the fast fix ! 🫶 ❤️
What version of
stylelint
,prettier
andstylelint-prettier
are you using?I'm using:
Please paste any applicable config files that you're using (e.g.
.prettierrc
or.stylelintrc
files)index.js
(prettier config)index.js (stylelint config)
What source code are you linting? This is an example of code from my LESS files:
What did you expect to happen? So that everything works the same as it did in 5.0.0
What actually happened?
// ...
single comments to multi-line/* ... */
.@
.visuallyHidden() -> @visuallyHidden();
.textTruncateGradientTo(left, size-s); -> @textTruncateGradientTo(left, size-s);
.visuallyHidden() -> @visuallyhidden();
.textTruncateGradientTo(left, size-s); -> @texttruncategradientto(left, size-s);
I have got new errors after your updates .
After fix command it formatting my code to
At the moment I have fixed the version 5.0.0 and everything works as before. Can you tell me what to do in this case? Thanks