-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
important rule in LESS mixin moves !important declaration outside mixin #3544
Copy link
Copy link
Closed
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlang:lessIssues affecting Less-specific syntax (not plain CSS)Issues affecting Less-specific syntax (not plain CSS)locked-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.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency
Metadata
Metadata
Assignees
Labels
lang:css/scss/lessIssues affecting CSS, Less or SCSSIssues affecting CSS, Less or SCSSlang:lessIssues affecting Less-specific syntax (not plain CSS)Issues affecting Less-specific syntax (not plain CSS)locked-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.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency
Prettier 1.9.2
Playground link
Input:
Output:
Expected behavior:
Using
// prettier-ignoreas a workaround.