From bcc164adbda4bc31fed6bde6b6b459081e2bdc7c Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 23 Jul 2018 11:22:27 -0400 Subject: [PATCH] chore(stylelint): ignore custom properties for no zero unit this fixes an issue when `0px` needs to be used in calc see https://github.com/stylelint/stylelint/issues/3037 --- core/.stylelintrc.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/.stylelintrc.yml b/core/.stylelintrc.yml index fd74c884e5..fb366c5ad0 100644 --- a/core/.stylelintrc.yml +++ b/core/.stylelintrc.yml @@ -45,6 +45,11 @@ rules: declaration-no-important: - true + length-zero-no-unit: + - true + - ignore: + - custom-properties + order/order: - custom-properties - dollar-variables