forked from NUDT-compiler/nudt-compiler-cpp
parent
eb83ab5cd3
commit
f608d852bf
@ -1,56 +0,0 @@
|
||||
{
|
||||
"disabledMcpjsonServers": ["figma", "react-bits", "chrome"],
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash .claude/hooks/spec-reminder.sh",
|
||||
"timeout": 5000
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash .claude/hooks/memory-guard.sh",
|
||||
"timeout": 3000
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Bash(rm *)|Bash(git reset *)|Bash(git push *)|Bash(git checkout *)|Bash(git clean *)",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash .claude/hooks/block-destructive.sh",
|
||||
"timeout": 5000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "Bash(git commit *)",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo '=== 快门禁 ===' && ./2026test.sh -c functional -x 2>&1 | tail -5 && ./2026test.sh -c h_functional -x 2>&1 | tail -5",
|
||||
"timeout": 180000
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"matcher": "",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "bash .claude/hooks/stop-guard.sh",
|
||||
"timeout": 3000
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue