From a8a1af4b627f0149f5b96c075c52bfc046406d76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 2 Feb 2017 19:13:05 -0500 Subject: [PATCH] Update deprecated options and rules --- .stylelintrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 5f32a858..cabb1fda 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -5,7 +5,7 @@ ], "rules": { "at-rule-empty-line-before": ["always", { - "except": ["blockless-group", "first-nested"], + "except": ["blockless-after-blockless", "first-nested"], "ignore": ["after-comment"] }], "block-closing-brace-newline-after": "always", @@ -20,7 +20,7 @@ "color-no-invalid-hex": true, "comment-empty-line-before": ["always", { "except": ["first-nested"], - "ignore": ["stylelint-commands"] + "ignore": ["stylelint-command"] }], "comment-whitespace-inside": "always", "declaration-bang-space-after": "never", @@ -59,8 +59,9 @@ "ignore": ["consecutive-duplicates"] }], "declaration-block-no-shorthand-property-overrides": true, - "rule-non-nested-empty-line-before": ["always-multi-line", { - "ignore": ["after-comment"] + "rule-empty-line-before": ["always-multi-line", { + "except": ["first-nested"], + "ignore": ["after-comment"], }], "declaration-block-trailing-semicolon": "always", "selector-combinator-space-after": "always",