Skip to content

Commit 91ae9cb

Browse files
mydeaanonrig
authored andcommitted
build: Fix prettier lint command (#10013)
It used to output all the files it processed, which lead to a very verbose console output. By using `--check` we only get files that do not match.
1 parent a6589aa commit 91ae9cb

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
@@ -27,7 +27,7 @@
2727
"lint": "run-p lint:lerna lint:biome lint:prettier",
2828
"lint:lerna": "lerna run lint",
2929
"lint:biome": "biome check .",
30-
"lint:prettier": "prettier **/*.md **/*.css",
30+
"lint:prettier": "prettier **/*.md **/*.css --check",
3131
"validate:es5": "lerna run validate:es5",
3232
"postpublish": "lerna run --stream --concurrency 1 postpublish",
3333
"test": "lerna run --ignore \"@sentry-internal/{browser-integration-tests,e2e-tests,integration-shims,node-integration-tests,overhead-metrics}\" test",

0 commit comments

Comments
 (0)