Closed Val-Git closed 5 months ago
When running dprint fmt Malva adds additional semicolons in SCSS maps.
dprint fmt
I need to keep my maps multi-line and I add an ignore comment to them. But Malva has a side effect: in this case, it adds second semicolons at the end of the maps.
input:
// malva-ignore $padding: map.get(( sm: 4px, md: 8px, lg: 12px ), lg); // malva-ignore $size: ( sm: 16px, md: 24px );
output:
// malva-ignore $padding: map.get(( sm: 4px, md: 8px, lg: 12px ), $size);; // malva-ignore $size: ( sm: 16px, md: 24px );;
By the way, it would be great if Malva allowed specifying multi-line maps, for example through the config.
Can you open a new issue about multi-line maps? They're different problems.
Done #11
When running
dprint fmt
Malva adds additional semicolons in SCSS maps.I need to keep my maps multi-line and I add an ignore comment to them. But Malva has a side effect: in this case, it adds second semicolons at the end of the maps.
input:
output:
By the way, it would be great if Malva allowed specifying multi-line maps, for example through the config.