Jiseoup/showmycodePublic
EN|KO
  • 코드
  • 커밋
  • 풀 리퀘스트
← 목록으로

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

JiseoupJiseoup · 2026년 6월 11일e03ac12

변경된 파일1개+1 -1

변경된 파일

+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:"