From 6b56323dc16d87c32cb599c237ea9e4743b84f56 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Thu, 2 Jan 2025 11:46:57 +0100 Subject: [PATCH] fix: update husky pre-commit hook to set the current year --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index af7bab66..739e39f9 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -16,7 +16,7 @@ run_checks() { echo "${BLUE}Running ${path} checks and tests...${NC}" cd ./${path} npm run typecheck - npm run lint + npx lint-staged if [ "$path" = "api" ]; then npm run test:half # Run API specific tests fi