stylelint - How to whitelist a specific regex in addition to unit-whitelist? -
i allow \1px\
usages not other pixel values. rule currently:
"unit-whitelist": [["%", "vh","vw"], { "message": "please use rem() size units" }],
this not available option in stylelint. can ignore units whole, , not specific values of units such allowing 1px
disallowing 5px
you create new issue @ stylelint discuss further stylelint team at:
Comments
Post a Comment