From 4246913d250c1ad140191035b3bf3cf64765b018 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 12 Dec 2017 22:01:03 +0100 Subject: [PATCH] Upgraded stylelint --- .stylelintrc | 3 ++- package.json | 4 ++-- src/assets/stylesheets/base/_icons.scss | 2 ++ src/assets/stylesheets/base/_reset.scss | 2 ++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 1bfc35cca..1315c0350 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,5 +1,5 @@ { - "extends": "stylelint-config-standard", + "extends": "stylelint-config-recommended", "plugins": [ "stylelint-order", "stylelint-scss" @@ -25,6 +25,7 @@ "font-family-name-quotes": "always-where-recommended", "font-weight-notation": "numeric", "function-url-quotes": "always", + "no-descending-specificity": null, "no-unknown-animations": true, "order/order": [ "custom-properties", diff --git a/package.json b/package.json index d381ef95e..4dc07267a 100644 --- a/package.json +++ b/package.json @@ -68,8 +68,8 @@ "promise-polyfill": "^6.0.2", "sass-loader": "^6.0.6", "style-loader": "^0.19.0", - "stylelint": "^8.0.0", - "stylelint-config-standard": "^17.0.0", + "stylelint": "^8.3.0", + "stylelint-config-standard": "^18.0.0", "stylelint-order": "^0.8.0", "stylelint-scss": "^2.0.0", "uglify-js": "^3.1.10", diff --git a/src/assets/stylesheets/base/_icons.scss b/src/assets/stylesheets/base/_icons.scss index d546fc38e..0dfb5d14c 100644 --- a/src/assets/stylesheets/base/_icons.scss +++ b/src/assets/stylesheets/base/_icons.scss @@ -20,6 +20,8 @@ /// DEALINGS //// +// stylelint-disable font-family-no-missing-generic-family-keyword + // ---------------------------------------------------------------------------- // Rules // ---------------------------------------------------------------------------- diff --git a/src/assets/stylesheets/base/_reset.scss b/src/assets/stylesheets/base/_reset.scss index 7a91b4ce1..9a9ac1528 100644 --- a/src/assets/stylesheets/base/_reset.scss +++ b/src/assets/stylesheets/base/_reset.scss @@ -20,6 +20,8 @@ /// DEALINGS //// +// stylelint-disable no-duplicate-selectors + // ---------------------------------------------------------------------------- // Rules // ----------------------------------------------------------------------------