-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
Prettier 2.0.5
Playground link
--parser scss
Input:
@import ur
l(//fonts.googleapis.com/css?family=Open+Sans:400,400italic);
Output:
@import ur
l(;
Expected behavior:
I was playing on the playground, found this case, it's seems not really valid, but we should not lost the comment, or should throw a ParseError. And less
parser didn't lost the comment.
@include b() /* comment*/
@include b() // comment
Same problem.
Metadata
Metadata
Assignees
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.