From c50926bd6ed101abb206d10073efcec2915f115c Mon Sep 17 00:00:00 2001 From: Kamil Zyla Date: Wed, 8 Jun 2022 14:50:05 +0200 Subject: [PATCH] fix: Improve stylelint config to accept Sass at-rules --- inst/templates/node/dot.stylelintrc.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inst/templates/node/dot.stylelintrc.json b/inst/templates/node/dot.stylelintrc.json index cd8b577d..ccbbac8e 100644 --- a/inst/templates/node/dot.stylelintrc.json +++ b/inst/templates/node/dot.stylelintrc.json @@ -1,9 +1,9 @@ { "extends": "stylelint-config-standard", - "plugins": [ - "stylelint-scss" - ], + "plugins": ["stylelint-scss"], "rules": { - "no-empty-source": null + "at-rule-no-unknown": null, + "no-empty-source": null, + "scss/at-rule-no-unknown": true } }