From a223182e64e9dba8a79e0661c4e3bbdf453c515d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sat, 8 Jan 2022 18:50:48 +0100 Subject: build(stylelint): allow zero with unit for custom properties A custom property with a value of zero needs an unit to be used inside calc function. --- .stylelintrc.json | 1 + 1 file changed, 1 insertion(+) (limited to '.stylelintrc.json') diff --git a/.stylelintrc.json b/.stylelintrc.json index 4263e95..a41f98d 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -16,6 +16,7 @@ "indentInsideParens": "twice" } ], + "length-zero-no-unit": [true, { "ignore": ["custom-properties"] }], "max-line-length": [ 80, { -- cgit v1.2.3