From 9eb6280f81ee9c3b73c4307200a128435c32541f Mon Sep 17 00:00:00 2001 From: Rhuan Barreto Date: Wed, 1 Apr 2026 10:55:57 +0200 Subject: [PATCH] refactor: remove pre-commit hook for validation --- .claude/settings.json | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 7bf6b4c4..0392fba6 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -20,19 +20,6 @@ }, "attribution": { "commit": "", "pr": "" }, "hooks": { - "PreToolUse": [ - { - "matcher": "Bash", - "hooks": [ - { - "type": "command", - "command": "INPUT=$(cat); CMD=$(echo \"$INPUT\" | node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>process.stdout.write(JSON.parse(d).tool_input.command))\"); if echo \"$CMD\" | grep -qE 'git\\s+commit'; then bun run validate > /dev/null 2>&1; EXIT=$?; if [ $EXIT -ne 0 ]; then echo '{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"deny\",\"permissionDecisionReason\":\"bun run validate failed (exit '\"$EXIT\"'). Fix issues before committing.\"}}'; fi; fi", - "timeout": 300, - "statusMessage": "Running validation before commit..." - } - ] - } - ], "PostToolUse": [ { "matcher": "Write|Edit",