From 28fd7337e3a1bfd8f0f0099b7ba0f7a8180974aa Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Tue, 5 Dec 2017 14:58:01 -0400 Subject: [PATCH] Update Stylelint rules. --- package.json | 15 +++++++++++++-- resources/assets/styles/common/_global.scss | 1 + resources/assets/styles/common/_variables.scss | 1 + resources/assets/styles/layouts/_posts.scss | 1 + resources/assets/styles/layouts/_sidebar.scss | 1 + resources/assets/styles/login.scss | 1 + 6 files changed, 18 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1864157..394aa56 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,20 @@ } }, "stylelint": { - "extends": "stylelint-config-recommended-scss", + "extends": [ + "stylelint-config-recommended-scss", + "./node_modules/prettier-stylelint/config.js" + ], "rules": { - "no-empty-source": null + "media-feature-name-no-unknown": [ + true, + { + "ignoreMediaFeatureNames": [ + "min--moz-device-pixel-ratio" + ] + } + ], + "media-query-list-comma-space-after": "always-single-line" } }, "scripts": { diff --git a/resources/assets/styles/common/_global.scss b/resources/assets/styles/common/_global.scss index e69de29..70b786d 100644 --- a/resources/assets/styles/common/_global.scss +++ b/resources/assets/styles/common/_global.scss @@ -0,0 +1 @@ +// TODO diff --git a/resources/assets/styles/common/_variables.scss b/resources/assets/styles/common/_variables.scss index e69de29..70b786d 100644 --- a/resources/assets/styles/common/_variables.scss +++ b/resources/assets/styles/common/_variables.scss @@ -0,0 +1 @@ +// TODO diff --git a/resources/assets/styles/layouts/_posts.scss b/resources/assets/styles/layouts/_posts.scss index e69de29..70b786d 100644 --- a/resources/assets/styles/layouts/_posts.scss +++ b/resources/assets/styles/layouts/_posts.scss @@ -0,0 +1 @@ +// TODO diff --git a/resources/assets/styles/layouts/_sidebar.scss b/resources/assets/styles/layouts/_sidebar.scss index e69de29..70b786d 100644 --- a/resources/assets/styles/layouts/_sidebar.scss +++ b/resources/assets/styles/layouts/_sidebar.scss @@ -0,0 +1 @@ +// TODO diff --git a/resources/assets/styles/login.scss b/resources/assets/styles/login.scss index e69de29..70b786d 100644 --- a/resources/assets/styles/login.scss +++ b/resources/assets/styles/login.scss @@ -0,0 +1 @@ +// TODO