aboutsummaryrefslogtreecommitdiffstats
path: root/.husky
diff options
context:
space:
mode:
Diffstat (limited to '.husky')
-rwxr-xr-x.husky/pre-commit5
1 files changed, 4 insertions, 1 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
index cf9de02..da4248e 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,4 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2. "$(dirname "$0")/_/husky.sh" 2. "$(dirname "$0")/_/husky.sh"
3 3
4pnpm i && pnpm lint && pnpm reformat-files && pnpm package 4pnpm i || exit 1
5pnpm lint:fix --quiet || exit 1
6pnpm reformat-files || exit 1
7pnpm package || exit 1