forked from trent_larson/crowd-funder-for-time-pwa
- Add pre-commit and pre-push hooks for build file protection - Create comprehensive guard script for BUILDING.md validation - Add npm scripts for guard setup and testing - Integrate with existing build system
11 lines
284 B
Bash
Executable File
11 lines
284 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Husky Commit Message Hook
|
|
# Validates commit message format using commitlint
|
|
#
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# Run commitlint but don't fail the commit (|| true)
|
|
# This provides helpful feedback without blocking commits
|
|
npx commitlint --edit "$1" || true
|