diff --git a/.husky/pre-commit b/.husky/pre-commit
index 59261299604c88a63a3b910fccd9175bb0f389c7..183dff3762271aacfbceab1fdc67ed7460ba378a 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,5 +1,6 @@
 #!/usr/bin/env sh
 . "$(dirname -- "$0")/_/husky.sh"
 
+pnpm format
 pnpm lint
 npx lint-staged