From 35d9954013f5abc7552cebfa16312afa37aa159f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Sun, 26 Jul 2020 22:58:10 +0200 Subject: [PATCH] Add stricter SCSS stylelint rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- .stylelintrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.stylelintrc b/.stylelintrc index 6b14b118..a811b81e 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -18,7 +18,13 @@ "selector-type-case": null, "selector-list-comma-newline-after": null, "no-descending-specificity": null, - "string-quotes": "single" + "string-quotes": "single", + "selector-combinator-space-before": "always", + "selector-combinator-space-after": "always", + "declaration-block-no-duplicate-properties": true, + "no-extra-semicolons": true, + "declaration-colon-space-after": "always", + "declaration-colon-space-before": "never" }, "plugins": [ "stylelint-scss"