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

rules.scsslint.Shorthand.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

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