Fix printing of SCSS selector() function (#12213)

This commit is contained in:
Lucas Duailibe authored and GitHub committed 2022-02-03 12:54:10 -03:00
1 parent e22c4911f8
commit 543aa9abf1
4 files changed
+25 -2

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#### Fixes printing parameters of a mixin named `selector()` (#12213 by @duailibe)
<!-- prettier-ignore -->
```css
/* Input */
@mixin selector($param: 'value') {
}
/* Prettier stable */
@mixin selector($param: 'value) {
}
/* Prettier main */
@mixin selector($param: 'value') {
}
```