From 11b614c22507ca03595b6117e496b24209a40d64 Mon Sep 17 00:00:00 2001 From: Jonatan Witoszek Date: Wed, 4 Feb 2026 13:01:43 +0100 Subject: [PATCH] Removed validation-check hook --- .claude/hooks/validation-check.sh | 24 ------------------------ .claude/settings.json | 10 ---------- 2 files changed, 34 deletions(-) delete mode 100755 .claude/hooks/validation-check.sh diff --git a/.claude/hooks/validation-check.sh b/.claude/hooks/validation-check.sh deleted file mode 100755 index bfe41590aa8..00000000000 --- a/.claude/hooks/validation-check.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# Check if there are any changes in src/ directory -if ! git diff --name-only HEAD | grep -q '^src/'; then - echo 'â„šī¸ No changes in src/ directory, skipping validation' >&2 - exit 0 -fi - -echo '🔍 Running final validation...' >&2 - -# Run type checking -if ! pnpm run check-types; then - echo '❌ TypeScript validation failed - please fix type errors before completing the task' >&2 - exit 2 -fi - -# Run linting -if ! pnpm run lint; then - echo '❌ ESLint validation failed - please fix linting errors before completing the task' >&2 - exit 2 -fi - -echo '✅ All validations passed!' >&2 -exit 0 diff --git a/.claude/settings.json b/.claude/settings.json index 67a9b702d8b..f287c926527 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -30,16 +30,6 @@ } ] } - ], - "Stop": [ - { - "hooks": [ - { - "type": "command", - "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/validation-check.sh" - } - ] - } ] }, "enabledPlugins": {