allow 'ch' units in less files

This commit is contained in:
ansuz 2022-09-20 16:37:17 +05:30
parent 79605f4e7b
commit 919af10913
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
"emptyRule": { "enabled": true },
"hexValidation": { "enabled": true }, // disallow actual garbage color hex codes (e.g. #ab)
"propertyUnits": {
"valid": ["rem", "vw", "em", "px"], // These units are allowed for all properties
"valid": ["rem", "vw", "em", "px", "ch"], // These units are allowed for all properties
"invalid": ["pt"], // The 'pt' unit is not allowed under any circumstances
"properties": {
//"line-height": [] // No units are allowed for line-height