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:

https://github.com/stylelint/stylelint/issues/new


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -