Do not split call of scss function with leading dash (#15370)
* Do not split call of scss function with leading dash * add changelog * apply check only for scss parser * Revert "apply check only for scss parser" This reverts commit 378bf1ac11830ff22c922efbd10c322ed573a31e. * add more test cases * use test case from original issue
This commit is contained in:
1 parent
4eaf68cd6c
commit
7c512651f8
4 files changed
+71
-1
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#### Do not split call of scss function with leading dash (#15370 by @auvred)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```scss
|
||||
/* Input */
|
||||
div {
|
||||
width: -double(-double(3));
|
||||
}
|
||||
|
||||
/* Prettier stable */
|
||||
div {
|
||||
width: -double(- double(3));
|
||||
}
|
||||
|
||||
/* Prettier main */
|
||||
div {
|
||||
width: -double(-double(3));
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user