Files
test-repo/changelog_unreleased/scss/18530.md
T

340 B

Prevent adding trailing comma in math expression within function arguments (#18530 by @kovsu)

// Input
@include container($foo: 2 * ($bar + $baz));

// Prettier stable
@include container(
  $foo: 2 *
    (
      $bar + $baz,
    )
);

// Prettier main
@include container($foo: 2 * ($bar + $baz));