From a74133ec6969d009d971d18a8b84deaf3e2fda45 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Thu, 2 Feb 2017 13:26:00 +0000 Subject: [PATCH 1/2] chore(package): update stylelint to version 7.8.0 https://greenkeeper.io/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fd83ddde..aca15d22 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "npm-run-all": "4.0.1", "nyc": "10.1.0", "socket.io-client": "1.7.2", - "stylelint": "7.7.1", + "stylelint": "7.8.0", "urijs": "1.16.1", "webpack": "1.14.0" } 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 2/2] 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",