Skip to content

Commit ccb883c

Browse files
committed
fix: disable Prettier cache in CI to resolve formatting inconsistencies
- Changed format:check script from --cache to --no-cache - Eliminates cache-related differences between CI and local environments - CI starts with fresh state each run, local cache can cause divergence - Ensures consistent formatting validation across all environments
1 parent f29e3be commit ccb883c

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
@@ -15,7 +15,7 @@
1515
"type-check": "tsc --noEmit",
1616
"type-check:watch": "tsc --noEmit --watch",
1717
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\" --cache",
18-
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\" --cache",
18+
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\" --no-cache",
1919
"validate": "npm run type-check && npm run lint && npm run format:check",
2020
"cli": "node ./scripts/cli.mjs",
2121
"prepare": "husky",

0 commit comments

Comments
 (0)