Skip to content

Commit 1e90739

Browse files
committed
ci(prettier): rather use --check instead of -l
Not sure why -l flag sometimes make command fail when it shouldn't.
1 parent 697d17c commit 1e90739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"docs-preview": "vitepress preview docs",
1818
"lint": "eslint . --ext .js,.ts",
1919
"lint-fix": "eslint . --ext .js,.ts --fix",
20-
"format": "prettier **/*.{ts,js,json,yml,md} -l",
20+
"format": "prettier **/*.{ts,js,json,yml,md} --check",
2121
"format-fix": "prettier **/*.{ts,js,json,yml,md} --write",
2222
"publish": "lerna publish --conventional-commits",
2323
"reinstall": "yarn clean && yarn install",

0 commit comments

Comments
 (0)