From 9891b37a6f47441f1154c4ca0eb8b557c9a8b460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=A9=E8=BE=95=E7=84=AE=E7=97=95?= Date: Thu, 21 Apr 2022 01:28:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20stylelint=20support=20l?= =?UTF-8?q?ess=20&=20prettier=20(#2808)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 🤖 stylelint support less & prettier * lock it Co-authored-by: Lukas Gravley --- dependencies/package-lock.json | 40 ++++++++++++++++++++++++++++++++++ dependencies/package.json | 2 ++ 2 files changed, 42 insertions(+) diff --git a/dependencies/package-lock.json b/dependencies/package-lock.json index 03dbc284..10eca793 100644 --- a/dependencies/package-lock.json +++ b/dependencies/package-lock.json @@ -34,12 +34,14 @@ "markdownlint-cli": "^0.31.1", "node-fetch": "^3.2.3", "npm-groovy-lint": "^9.4.1", + "postcss-less": "^6.0.0", "prettier": "^2.6.1", "prettyjson": "^1.2.5", "pug": "^3.0.2", "sql-lint": "0.0.19", "standard": "^16.0.4", "stylelint": "^14.6.1", + "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended-scss": "^6.0.0", "stylelint-config-sass-guidelines": "^9.0.1", "stylelint-config-standard": "^25.0.0", @@ -7264,6 +7266,17 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/postcss-less": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz", + "integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==", + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "postcss": "^8.3.5" + } + }, "node_modules/postcss-media-query-parser": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", @@ -8977,6 +8990,21 @@ "url": "https://opencollective.com/stylelint" } }, + "node_modules/stylelint-config-prettier": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/stylelint-config-prettier/-/stylelint-config-prettier-9.0.3.tgz", + "integrity": "sha512-5n9gUDp/n5tTMCq1GLqSpA30w2sqWITSSEiAWQlpxkKGAUbjcemQ0nbkRvRUa0B1LgD3+hCvdL7B1eTxy1QHJg==", + "bin": { + "stylelint-config-prettier": "bin/check.js", + "stylelint-config-prettier-check": "bin/check.js" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "stylelint": ">=11.0.0" + } + }, "node_modules/stylelint-config-recommended": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-6.0.0.tgz", @@ -15978,6 +16006,12 @@ "source-map-js": "^1.0.2" } }, + "postcss-less": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-6.0.0.tgz", + "integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==", + "requires": {} + }, "postcss-media-query-parser": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", @@ -17263,6 +17297,12 @@ } } }, + "stylelint-config-prettier": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/stylelint-config-prettier/-/stylelint-config-prettier-9.0.3.tgz", + "integrity": "sha512-5n9gUDp/n5tTMCq1GLqSpA30w2sqWITSSEiAWQlpxkKGAUbjcemQ0nbkRvRUa0B1LgD3+hCvdL7B1eTxy1QHJg==", + "requires": {} + }, "stylelint-config-recommended": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-6.0.0.tgz", diff --git a/dependencies/package.json b/dependencies/package.json index 8a4fe508..6f2158ca 100644 --- a/dependencies/package.json +++ b/dependencies/package.json @@ -39,6 +39,8 @@ "stylelint-config-sass-guidelines": "^9.0.1", "stylelint-config-standard": "^25.0.0", "stylelint-config-standard-scss": "^3.0.0", + "stylelint-config-prettier": "^9.0.3", + "postcss-less": "^6.0.0", "stylelint-scss": "^4.2.0", "tekton-lint": "^0.6.0", "textlint": "^12.1.1",