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 */
// .stylelintrc
{
"plugins": [
"stylelint-letter-spacing-negative-limit"
],
"rules": {
"plugin/stylelint-letter-spacing-negative-limit": [true]
}
}