Skip to content

Commit fc2fbe1

Browse files
bebuslclaude
andcommitted
feat: pre-push 훅 추가 (lint, 타입 체크)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 01ce7f5 commit fc2fbe1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.husky/pre-push‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
echo "🔍 Lint 검사 중..."
2+
npm run lint || { echo "❌ Lint 실패. push를 중단합니다."; exit 1; }
3+
4+
echo "🔍 타입 체크 중..."
5+
npx tsc -b || { echo "❌ 타입 에러 발생. push를 중단합니다."; exit 1; }
6+
7+
echo "✅ 검사 통과!"

0 commit comments

Comments
 (0)