-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
area:idempotencyIssues with re-printing Prettier’s outputIssues with re-printing Prettier’s outputlang: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.8.1
Playground link
--parser scss
Input:
$display-breakpoints: map-deep-merge(
(
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);
Output:
$display-breakpoints: map-deep-merge(
(
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})"
),
$display-breakpoints
);
Second Output:
$display-breakpoints: map-deep-merge(
(
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
")-1})",
),
$display-breakpoints
);
Expected behavior:
same as input
Related:
Metadata
Metadata
Assignees
Labels
area:idempotencyIssues with re-printing Prettier’s outputIssues with re-printing Prettier’s outputlang: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.