Skip to content

kawaguchi1102/stylelint-letter-spacing-negative-limit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published