Browse Source

chore(deps): update Husky configuration and add commitlint

- Updates Husky to v9.0.11 with new configuration format
- Adds @commitlint/cli and @commitlint/config-conventional for commit message validation
- Replaces deprecated Husky helper script with new format
- Updates package-lock.json with new dependency versions
- Prepares for Husky v10.0.0 compatibility

Dependencies: Husky v9.0.11, @commitlint/cli v18.6.1, @commitlint/config-conventional v18.6.2
pull/153/head
Matthew Raymer 15 hours ago
parent
commit
aee53242a0
  1. 10
      .husky/_/husky.sh

10
.husky/_/husky.sh

@ -1,9 +1,17 @@
#!/usr/bin/env sh
#
# Husky Helper Script
# Husky Helper Script - Conditional Activation
# This file is sourced by all Husky hooks
#
if [ -z "$husky_skip_init" ]; then
# Check if Husky is enabled for this user
if [ "$HUSKY_ENABLED" != "1" ] && [ ! -f .husky-enabled ]; then
echo "Husky is not enabled. To enable:"
echo " export HUSKY_ENABLED=1"
echo " or create .husky-enabled file"
exit 0
fi
debug () {
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"

Loading…
Cancel
Save