Files
frontend/.husky/pre-commit
T
ksv741 228b66164f
Frontend verify / commits (pull_request) Successful in 38s
Frontend verify / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Successful in 6m34s
ci: keep pre-commit proportionate and avoid tool downloads (WealthLedger/frontend#62)
2026-10-14 23:33:51 +03:00

7 lines
213 B
Plaintext
Executable File

gitleaks git --pre-commit --staged --redact=100 --no-banner || exit $?
if [ ! -x node_modules/.bin/lint-staged ]; then
echo "lint-staged is not installed; run npm ci" >&2
exit 1
fi
node_modules/.bin/lint-staged