preferSingleLine
Control whether items should be placed on single line as possible, even they’re originally on multiple lines.
Default value is false.
This global option can be overridden by different syntax nodes:
selectors.preferSingleLine(blockSelectorLinebreakmust be"consistent", otherwise this will be ignored)functionArgs.preferSingleLinesassContentAtRule.preferSingleLinesassIncludeAtRule.preferSingleLinesassMap.preferSingleLinesassModuleConfig.preferSingleLinesassParams.preferSingleLinelessImportOptions.preferSingleLinelessMixinArgs.preferSingleLinelessMixinParams.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);
}