
rules.scsslint.ZeroUnit.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
Omit length units on zero values.
Bad: unnecessary units
margin: 0px;
Good
margin: 0;
Zero is zero regardless of the units of length.
Note that this only applies to
lengths,
since it is invalid to omit units for other types such as
angles or
times.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy