
rules.scsslint.Shorthand.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
Prefer the shortest shorthand form possible for properties that support it.
Bad: all 4 sides specified with same value
margin: 1px 1px 1px 1px;
Good: equivalent to specifying 1px for all sides
margin: 1px;
If you don't want to allow all possible shorthands, you can limit them by
setting the allowed_shorthands
array option to a subset of [1, 2, 3]
.
Configuration Option
Description
allowed_shorthands
Array of allowed shorthand lengths (default [1, 2, 3]
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy