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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -