From 147e5ef75de2b12c38c9d6ead732d8e00aa959da Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 25 Jul 2017 17:30:47 +0200 Subject: [PATCH] Fixed CSS linting with stylelint --- .stylelintrc | 1 + package.json | 2 +- yarn.lock | 12 +++++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 7ccb67e88..1bfc35cca 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -6,6 +6,7 @@ ], "rules": { "at-rule-empty-line-before": null, + "at-rule-no-unknown": null, "at-rule-no-vendor-prefix": true, "block-opening-brace-space-before": null, "block-closing-brace-newline-after": ["always", { diff --git a/package.json b/package.json index 8eb67768b..061ba0c86 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "node-notifier": "^5.1.2", "postcss-pseudo-classes": "^0.2.0", "stylelint": "^8.0.0", - "stylelint-config-standard": "^16.0.0", + "stylelint-config-standard": "^17.0.0", "stylelint-order": "^0.6.0", "stylelint-scss": "^1.4.4", "through2": "^2.0.3", diff --git a/yarn.lock b/yarn.lock index 9a2d69096..de0e537e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5429,9 +5429,15 @@ stylehacks@^2.3.2: text-table "^0.2.0" write-file-stdout "0.0.2" -stylelint-config-standard@^16.0.0: - version "16.0.0" - resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-16.0.0.tgz#bb7387bff1d7dd7186a52b3ebf885b2405d691bf" +stylelint-config-recommended@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-1.0.0.tgz#752c17fc68fa64cd5e7589e24f6e46e77e14a735" + +stylelint-config-standard@^17.0.0: + version "17.0.0" + resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-17.0.0.tgz#42103a090054ee2a3dde9ecaed55e5d4d9d059fc" + dependencies: + stylelint-config-recommended "^1.0.0" stylelint-order@^0.6.0: version "0.6.0"