stylelint-letter-spacing-negative-limit
v1.1.0
Published
Limit negative `letter-spacing` values.
Downloads
5
Maintainers
Readme
stylelint-letter-spacing-negative-limit
Limit negative letter-spacing
values.
a {
letter-spacing: -1px;
}
/** ↑
* This negative value */
Exceptionally, the following patterns pass the rule.
.class {
--foo: -10px;
letter-spacing: var(--foo);
}
/** ↑
* This variable value is -10px */
Usage
// .stylelintrc
{
"plugins": [
"stylelint-letter-spacing-negative-limit"
],
"rules": {
"plugin/stylelint-letter-spacing-negative-limit": [true]
}
}