Preserve trailing commas in single-item SCSS lists (#19928)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
Konv Suuandfisker Cheung authored and GitHub committed 2026-09-02 14:54:22 +08:00
1 parent ffb4f9e7bb
commit d4126e8c97
4 files changed
+166 -13

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#### Preserve trailing commas in single-item lists (#19928 by @kovsu)
<!-- prettier-ignore -->
```scss
// Input
$list: ("a",);
// Prettier stable
$list: ("a");
// Prettier main
$list: ("a",);
```