From 3f62a4e23aec71369702b0e0730f5724c929f667 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Tue, 26 Oct 2021 18:53:36 +0000 Subject: [PATCH] Move postcss-scss to full dep to add customSyntax --- index.js | 1 + package-lock.json | 4 +--- package.json | 2 +- src/.stylelintrc.json | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index d61a52e..a98485e 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,6 @@ module.exports = { "plugins": ["stylelint-order", "stylelint-scss"], + "customSyntax": "postcss-scss", "rules": { "at-rule-disallowed-list": ["debug"], "at-rule-no-unknown": null, diff --git a/package-lock.json b/package-lock.json index 553ad13..d183cce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,11 @@ "version": "8.0.0", "license": "MIT", "dependencies": { + "postcss-scss": "^4.0.1", "stylelint-order": "^5.0.0", "stylelint-scss": "^4.0.0" }, "devDependencies": { - "postcss-scss": "^4.0.1", "prepend-file": "^2.0.0", "shelljs": "^0.8.1", "stylelint": "^14.0.0", @@ -1679,7 +1679,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.1.tgz", "integrity": "sha512-7QghUu2l07OyVFT5LyvU/QJ1f2s8IL0mfToN69Yu533PgMZm2B1S6hYd4bao8tFq70r3P5MmAbKhVrZ4wOADxg==", - "dev": true, "engines": { "node": ">=12.0" }, @@ -3749,7 +3748,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.1.tgz", "integrity": "sha512-7QghUu2l07OyVFT5LyvU/QJ1f2s8IL0mfToN69Yu533PgMZm2B1S6hYd4bao8tFq70r3P5MmAbKhVrZ4wOADxg==", - "dev": true, "requires": {} }, "postcss-selector-parser": { diff --git a/package.json b/package.json index 5398a00..6d9f9f2 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "index.js" ], "dependencies": { + "postcss-scss": "^4.0.1", "stylelint-order": "^5.0.0", "stylelint-scss": "^4.0.0" }, @@ -35,7 +36,6 @@ "stylelint": "^14.0.0" }, "devDependencies": { - "postcss-scss": "^4.0.1", "prepend-file": "^2.0.0", "shelljs": "^0.8.1", "stylelint": "^14.0.0", diff --git a/src/.stylelintrc.json b/src/.stylelintrc.json index ae81e4d..748a51d 100644 --- a/src/.stylelintrc.json +++ b/src/.stylelintrc.json @@ -1,5 +1,6 @@ { "plugins": ["stylelint-order", "stylelint-scss"], + "customSyntax": "postcss-scss", "rules": { "at-rule-disallowed-list": ["debug"], "at-rule-no-unknown": null,