-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSS
Description
Using the latest prettier wildcard syntax is broken when using @forward pattern.
It worked as desired in v2.3.2.
Prettier 2.4.0
Playground link
--parser scssInput:
@forward './path' as path-*;
@forward './color' as color-*;
@forward './element' as element-*;
Output:
@forward "./path" as path- *;
@forward "./color" as color- *;
@forward "./element" as element- *;
Expected behavior:
Wildcard syntax should be preserved.
@forward "./path" as path-*;
@forward "./color" as color-*;
@forward "./element" as element-*;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSS