Assist_Design/.husky/pre-commit

11 lines
267 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm type-check
echo "Running security audit..."
if ! pnpm audit --audit-level=high > /dev/null 2>&1; then
echo "High or critical security vulnerabilities detected!"
echo "Run 'pnpm audit' to see details."
fi