From 28cfd7caaa3da45982791156f124bd80d9dc7d7c Mon Sep 17 00:00:00 2001 From: Felix Cornelissen Date: Thu, 23 Jan 2025 13:20:00 +0100 Subject: [PATCH] replace deprecated stylelint formatter --- package-lock.json | 24 ++++++++++++++++++++++++ package.json | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index c8294bb2..91159eb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "vue-router": "^4.5.0" }, "devDependencies": { + "@csstools/stylelint-formatter-github": "^1.0.0", "@eslint/js": "^9.18.0", "@tsconfig/node18": "^18.2.0", "@types/dompurify": "^3.0.5", @@ -1121,6 +1122,29 @@ "@csstools/css-tokenizer": "^3.0.3" } }, + "node_modules/@csstools/stylelint-formatter-github": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@csstools/stylelint-formatter-github/-/stylelint-formatter-github-1.0.0.tgz", + "integrity": "sha512-YBKb4lNRXEpqrO6oJY0ql+D7lQGZcIwj/bs2bf3t95CU3NZFLrrZoJrKxVeyp5mCPo5iNopsp+wkksrjI7FI/Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "stylelint": "^16.6.0" + } + }, "node_modules/@dual-bundle/import-meta-resolve": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", diff --git a/package.json b/package.json index 0a4ef751..6d632e9e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "test:unit": "vitest --environment jsdom --coverage", "test:unitci": "vitest run --environment jsdom", "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", - "lint": "npm run lint:es && npm run lint:style --- -f github", + "lint": "npm run lint:es && npm run lint:style --- --custom-formatter @csstools/stylelint-formatter-github", "lint:es": "eslint .", "lint:fix": "npm run lint:format && npm run lint:es --- --fix && npm run lint:style --- --fix", "lint:format": "prettier --write --ignore-path .gitignore **/*.{scss,vue,css,ts,js,cjs,mjs}", @@ -27,6 +27,7 @@ "vue-router": "^4.5.0" }, "devDependencies": { + "@csstools/stylelint-formatter-github": "^1.0.0", "@eslint/js": "^9.18.0", "@tsconfig/node18": "^18.2.0", "@types/dompurify": "^3.0.5",