Jiseoup/showmycodePublic
EN|KO
  • Code
  • Commits
  • Pull Requests
← Back to list

chore: drop breaking-change marker from commit-msg hook

JiseoupJiseoup · Jun 11, 2026e03ac12

Files changed1+1 -1

Changed files

+1 -1 · 1

@@ -4,7 +4,7 @@
# npm script runs automatically on `npm install`.
subject=$(head -n 1 "$1")
-pattern='^(feat|fix|chore|refactor|docs|i18n)(\(.+\))?!?: .+'
+pattern='^(feat|fix|chore|refactor|docs|i18n)(\(.+\))?: .+'
if ! printf '%s' "$subject" | grep -qE "$pattern"; then
echo "✖ Commit message must start with one of: feat:, fix:, chore:, refactor:, docs:, i18n:"