From 740ac276a03850ed868cec38bddf5ff6404e4159 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 11 Dec 2022 20:50:33 +0530 Subject: Backported some configurations from the adonis rewrite --- .husky/pre-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.husky/pre-commit') diff --git a/.husky/pre-commit b/.husky/pre-commit index 1a92cb3..5bdf80f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -5,5 +5,6 @@ FILE_NAME="$(dirname "$0")/_/husky.sh" # Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing npm modules) if [ -f $FILE_NAME ]; then . $FILE_NAME - npm run lint + pnpm prepare-code + pnpm lint fi -- cgit v1.2.3-70-g09d2