preferSingleLine
Control whether items should be placed on single line as possible, even they're originally on multiple lines.
Default option is false
.
This global option can be overridden by different syntax nodes:
selectors.preferSingleLine
(blockSelectorLinebreak
must be"consistent"
, otherwise this will be ignored)functionArgs.preferSingleLine
sassContentAtRule.preferSingleLine
sassIncludeAtRule.preferSingleLine
sassMap.preferSingleLine
sassModuleConfig.preferSingleLine
sassParams.preferSingleLine
lessImportOptions.preferSingleLine
lessMixinArgs.preferSingleLine
lessMixinParams.preferSingleLine
Given the following example CSS:
a {
color: rgb(
0,
0, 0
);
}
Example for false
a {
color: rgb(
0,
0,
0
);
}
Example for true
a {
color: rgb(0, 0, 0);
}