All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.scsslint.SingleLinePerProperty.html Maven / Gradle / Ivy

Go to download

Consume reports generated by scsslint for code quality. Also consume reports for code duplication (either simian or cpd). The information generated by reports are added in Sonar

There is a newer version: 2.1.0
Show newest version

Details

Properties within rule sets should each reside on their own line.

Bad

p {
margin: 0; padding: 0;
}

Good

p {
margin: 0;
padding: 0;
}

A special exception is made for single line rule sets. For example the following is acceptable:

p { margin: 0; padding: 0; }

If you want to also report a lint for single line rule sets, set the allow_single_line_rule_sets option to false.

Configuration Option Description
allow_single_line_rule_sets true or false (default true)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy