Remove space before ; delimiter in SCSS if() function (#19384)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
Konv Suuandfisker authored and GitHub committed 2026-06-16 15:05:02 +08:00
1 parent a42e063d5c
commit 45f6a5ff0f
6 files changed
+119

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#### Remove space before `;` delimiter in SCSS `if()` function (#19384 by @kovsu)
<!-- prettier-ignore -->
```scss
// Input
$value: if(sass($x): 1 ; else: 2);
// Prettier stable
$value: if(sass($x): 1 ; else: 2);
// Prettier main
$value: if(sass($x): 1; else: 2);
```