From b2ea7b4a62529dc6ffc9edb9ce467fc47eb65869 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Tue, 7 Oct 2025 23:54:42 -0700 Subject: [PATCH] [ci] fix stylelint script command in package.json (missing target) (#5972) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Correct usage of stylelint is ``` Usage: stylelint [input] [options] ``` The previous script omitted the `[input]` which defaulted to stdin, which didn't work as expected. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5972-ci-fix-stylelint-script-command-in-package-json-missing-target-2866d73d36508193a55ecc8dd4e9e161) by [Unito](https://www.unito.io) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a585cba13..748ef4833 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true", "preview": "nx preview", "storybook": "nx storybook -p 6006", - "stylelint:fix": "stylelint --cache --fix", - "stylelint": "stylelint --cache", + "stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'", + "stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'", "test:browser": "pnpm exec nx e2e", "test:unit": "nx run test", "typecheck": "vue-tsc --noEmit",