Skip to content

Commit f44d294

Browse files
committed
Fix root format:check command to not recurse into directories
1 parent 379c391 commit f44d294

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
@@ -53,7 +53,7 @@
5353
},
5454
"scripts": {
5555
"format": "prettier --write . --cache --cache-strategy content",
56-
"format:check": "prettier --check .",
56+
"format:check": "prettier --check . '!**/*/**' --config prettier.config.mjs",
5757
"lint": "eslint . --config eslint.config.mjs --cache --cache-strategy content",
5858
"lint:fix": "eslint --fix . --config eslint.config.mjs",
5959
"build": "yarn build:packages",

0 commit comments

Comments
 (0)