Files
setup-kubectl/.husky/pre-commit
2025-07-03 10:55:16 +12:00

9 lines
204 B
Plaintext

set +e
npm test
# Run format check
npm run format-check || {
echo ""
echo "❌ Formatting check failed."
echo "💡 Run 'npm run format' or 'prettier --write .' to fix formatting issues."
exit 1
}