Prettier 3.3.3
Playground doesn't support scss it seems
# Options (if any):
"trailingComma": "es5"
Input:
$z-indexes: (
header: 1035,
overlay: 1202 // TODO: change to 1050 after bootstrap modals will be removed
);
Output:
$z-indexes: (
header: 1035,
overlay: 1202 // TODO: change to 1050 after bootstrap modals will be removed,
);
Expected output:
$z-indexes: (
header: 1035,
overlay: 1202, // TODO: change to 1050 after bootstrap modals will be removed
);
Why?
It should add a comma to the last item not to the comment. It will also add it endless times, we already have like 5 repeated commas
Prettier 3.3.3
Playground doesn't support
scssit seemsInput:
Output:
Expected output:
Why?
It should add a comma to the last item not to the comment. It will also add it endless times, we already have like 5 repeated commas