
rules.scsslint.LeadingZero.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-frontend-scss Show documentation
Show all versions of sonar-web-frontend-scss Show documentation
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
Details
Don't write leading zeros for numeric values with a decimal point.
Bad: unnecessary leading zero
margin: 0.5em;
Good: no leading zero
margin: .5em;
You can configure this to prefer including leading zeros.
Configuration Option
Description
style
exclude_zero
or include_zero
(default exclude_zero)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy