Skip to content

Commit 4af8744

Browse files
committed
Fix root format command to not recurse into directories
1 parent f44d294 commit 4af8744

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
@@ -52,7 +52,7 @@
5252
"jest-snapshot": "29.3.1"
5353
},
5454
"scripts": {
55-
"format": "prettier --write . --cache --cache-strategy content",
55+
"format": "prettier --write . '!**/*/**' --config prettier.config.mjs --cache --cache-strategy content",
5656
"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",

0 commit comments

Comments
 (0)