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

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

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 - 2024 Weber Informatics LLC | Privacy Policy