You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
284 B
10 lines
284 B
#!/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
|
|
|