Skip to content

Commit b2ea7b4

Browse files
[ci] fix stylelint script command in package.json (missing target) (#5972)
## 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)
1 parent a234dac commit b2ea7b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
3636
"preview": "nx preview",
3737
"storybook": "nx storybook -p 6006",
38-
"stylelint:fix": "stylelint --cache --fix",
39-
"stylelint": "stylelint --cache",
38+
"stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'",
39+
"stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'",
4040
"test:browser": "pnpm exec nx e2e",
4141
"test:unit": "nx run test",
4242
"typecheck": "vue-tsc --noEmit",

0 commit comments

Comments
 (0)