Skip to content

Commit a23f410

Browse files
committed
Ignore dist folder when running Prettier
1 parent b79c497 commit a23f410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
"run-build": "tsup",
100100
"build": "yarn clean && yarn run-build && tsx scripts/fixUniqueSymbolExports.mts",
101101
"build-only": "yarn clean && yarn run-build",
102-
"format": "prettier --write . --cache --cache-strategy content",
103-
"format:check": "prettier --check .",
102+
"format": "prettier --write . '!dist' --cache --cache-strategy content",
103+
"format:check": "prettier --check . '!dist'",
104104
"lint": "eslint . --cache --cache-strategy content",
105105
"lint:fix": "eslint --fix .",
106106
"test": "vitest --typecheck --run ",

0 commit comments

Comments
 (0)