From 919af109135d704232907179d19687aabac805d4 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 20 Sep 2022 16:37:17 +0530 Subject: [PATCH] allow 'ch' units in less files --- .lesshintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lesshintrc b/.lesshintrc index 651613c98..56a5f680d 100644 --- a/.lesshintrc +++ b/.lesshintrc @@ -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