BMAD-METHOD/.husky/pre-commit

8 lines
120 B
Bash
Executable File

#!/usr/bin/env sh
# Auto-fix changed files and stage them
npx --no-install lint-staged
# Validate everything
npm test