mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|apply_patch",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/format.sh\"",
|
|
"timeout": 10
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/yarn-install.sh\"",
|
|
"timeout": 120
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/react-pattern-review.sh\"",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/sync-git-branches.sh\"",
|
|
"timeout": 60
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/react-pattern-review.sh\"",
|
|
"timeout": 10
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/code-quality-review-reminder.sh\"",
|
|
"timeout": 10
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"$(git rev-parse --show-toplevel)/.codex/hooks/verify.sh\"",
|
|
"timeout": 60
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|