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