From 5201a863e9daee8359c73805f7069a5511b23064 Mon Sep 17 00:00:00 2001 From: Amin Zibayi <43344360+AminZibayi@users.noreply.github.com> Date: Sat, 10 Sep 2022 09:06:37 +0430 Subject: [PATCH 1/2] Set color-function-notation rule to 'legacy' --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 3c6c2e3..667293a 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ module.exports = { 'at-rule-no-unknown': null, 'comment-no-empty': null, 'function-no-unknown': null, + 'color-function-notation': 'legacy', 'no-invalid-position-at-import-rule': [ true, { From 54e7646a67552713eade3a703dbc69e8a3123132 Mon Sep 17 00:00:00 2001 From: Amin Zibayi <43344360+AminZibayi@users.noreply.github.com> Date: Sat, 17 Sep 2022 03:30:45 +0430 Subject: [PATCH 2/2] Fix: set `alpha-value-notation` rule to `number` As Sass doesn't support modern color functions, using percentage notation on `rgba` functions would break things --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 667293a..aedd672 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,7 @@ module.exports = { 'comment-no-empty': null, 'function-no-unknown': null, 'color-function-notation': 'legacy', + 'alpha-value-notation': 'number', 'no-invalid-position-at-import-rule': [ true, {