From db55b6b3c478dc5e2e9f052b559b319626fb75d4 Mon Sep 17 00:00:00 2001 From: Devon Powell Date: Thu, 2 Dec 2021 09:56:28 -0500 Subject: [PATCH] Ignore unsafeCSS We have 1 place in rubrics this is needed and stylelint hated it and would actually lower case it if you ran `stylelint --fix` breaking code. --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 22e60ec..2314618 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,9 @@ module.exports = { "function-comma-space-after": "always-single-line", "function-comma-space-before": "never", "function-max-empty-lines": 0, - "function-name-case": "lower", + "function-name-case": ["lower", { + "ignoreFunctions": ["${unsafeCSS"] + }], "function-parentheses-newline-inside": "always-multi-line", "function-parentheses-space-inside": "never-single-line", "function-whitespace-after": "always",