From ee51be1b8b10306205eee96a1a8fddc50f203807 Mon Sep 17 00:00:00 2001 From: Chris Pelzer Date: Tue, 8 Oct 2024 16:20:49 -0400 Subject: [PATCH] fix: invalid theme function error that stylelint needs to know about MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` resources/scss/components/_global-buttons.scss 54:62 ✖ Unexpected unknown function "theme" function-no-unknown 72:62 ✖ Unexpected unknown function "theme" function-no-unknown ``` --- .stylelintrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.stylelintrc b/.stylelintrc index 766a0fc9..3dd69ec3 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -10,6 +10,11 @@ ] }], "no-invalid-double-slash-comments": null, - "selector-class-pattern": null + "selector-class-pattern": null, + "function-no-unknown": [ true, { + "ignoreFunctions": [ + "theme" + ] + }] } }