From b3f50d7471bf5da3b0c5f9b88f38ee6f7acd879d Mon Sep 17 00:00:00 2001 From: "sokol.biba" Date: Tue, 13 Oct 2026 09:27:12 +0200 Subject: [PATCH] fix: forward npm arguments in the pre-commit hook --- .husky/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index b82bf440f3..4ae537a31c 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,6 @@ # Run linting and stop the commit process if any errors are found # --quiet suppresses warnings (temporary until all warnings are fixed) -npm run affected:lint --base=main --head=HEAD --parallel=2 --quiet || exit 1 +npm run affected:lint -- --base=main --head=HEAD --parallel=2 --quiet || exit 1 # Check formatting on modified and uncommitted files, stop the commit if issues are found -npm run format:check --uncommitted || exit 1 +npm run format:check -- --uncommitted || exit 1