Skip to content

Commit 1ad4c03

Browse files
authored
fix(turbo): add root prettier:fix task to format command (#8109)
1 parent 4949dad commit 1ad4c03

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cloudflare:preview": "turbo cloudflare:preview",
1919
"deploy": "turbo deploy",
2020
"dev": "turbo dev",
21-
"format": "turbo prettier:fix lint:fix",
21+
"format": "turbo //#prettier:fix prettier:fix lint:fix",
2222
"lint": "turbo lint",
2323
"lint:fix": "turbo lint:fix",
2424
"lint:staged": "lint-staged",

turbo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"//#prettier": {
66
"outputs": [".prettiercache"]
77
},
8+
"//#prettier:fix": {
9+
"outputs": [".prettiercache"]
10+
},
811
"build": {
912
"dependsOn": ["^topo"]
1013
},

0 commit comments

Comments
 (0)