From e76c7dd7171887516900495995d59d093297203c Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Mon, 18 Nov 2024 09:37:27 -0500 Subject: [PATCH] fix: don't code after midnight kids --- scripts/lint/stylelint-custom/color-op-func-percentage.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/lint/stylelint-custom/color-op-func-percentage.js b/scripts/lint/stylelint-custom/color-op-func-percentage.js index 0854d02905..8431b75711 100644 --- a/scripts/lint/stylelint-custom/color-op-func-percentage.js +++ b/scripts/lint/stylelint-custom/color-op-func-percentage.js @@ -60,9 +60,6 @@ const ruleFunction = (primary, _secondary, context) => { let num = value; if (value.includes(".")) { num = Number.parseFloat(value); - if (num < 0) { - num *= 100; - } } if (context.fix) {