| 1234567891011121314151617181920 |
- {
- "env": {
- "CLAUDE_CODE_NEW_INIT": 1
- },
- "hooks": {
- "PostToolUse": [
- {
- "matcher": "Write|Edit",
- "hooks": [
- {
- "type": "command",
- "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/check_syntax.py\"",
- "timeout": 15,
- "statusMessage": "检查编辑文件的语法"
- }
- ]
- }
- ]
- }
- }
|