singleLineTopLevelDeclarations

Control whether to force to format all top-level declarations on a single line.

When this option is true, trailing semicolons are removed.

Most of the time, you don't need to set this option, because declarations at top level are invalid, but if you're formatting HTML's style attribute, you may want to set this to true.

Default option is false.

Example for false

Playground

width: 100px;
height: 100px;

Example for true

Playground

width: 100px; height: 100px