mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(ai workflow): align hook configs
This commit is contained in:
+42
-27
@@ -1,36 +1,51 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"afterFileEdit": [
|
"PostToolUse": [
|
||||||
{
|
{
|
||||||
"command": ".claude/hooks/format.sh",
|
"matcher": "Edit|Write|apply_patch",
|
||||||
"timeout": 10
|
"hooks": [
|
||||||
},
|
{
|
||||||
{
|
"type": "command",
|
||||||
"command": ".claude/hooks/yarn-install.sh",
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/format.sh\"",
|
||||||
"timeout": 120
|
"timeout": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": ".claude/hooks/react-pattern-review.sh",
|
"type": "command",
|
||||||
"timeout": 10
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/yarn-install.sh\"",
|
||||||
|
"timeout": 120
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/react-pattern-review.sh\"",
|
||||||
|
"timeout": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"stop": [
|
"Stop": [
|
||||||
{
|
{
|
||||||
"command": ".claude/hooks/sync-git-branches.sh",
|
"hooks": [
|
||||||
"timeout": 60
|
{
|
||||||
},
|
"type": "command",
|
||||||
{
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/sync-git-branches.sh\"",
|
||||||
"command": ".claude/hooks/react-pattern-review.sh",
|
"timeout": 60
|
||||||
"timeout": 10
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "command",
|
||||||
"command": ".claude/hooks/code-quality-review-reminder.sh",
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/react-pattern-review.sh\"",
|
||||||
"timeout": 10
|
"timeout": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": ".claude/hooks/verify.sh",
|
"type": "command",
|
||||||
"timeout": 60
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/code-quality-review-reminder.sh\"",
|
||||||
|
"timeout": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "bash \"$(git rev-parse --show-toplevel)/.claude/hooks/verify.sh\"",
|
||||||
|
"timeout": 60
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
+42
-27
@@ -1,36 +1,51 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"afterFileEdit": [
|
"PostToolUse": [
|
||||||
{
|
{
|
||||||
"command": ".cursor/hooks/format.sh",
|
"matcher": "Edit|Write|apply_patch",
|
||||||
"timeout": 10
|
"hooks": [
|
||||||
},
|
{
|
||||||
{
|
"type": "command",
|
||||||
"command": ".cursor/hooks/yarn-install.sh",
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/format.sh\"",
|
||||||
"timeout": 120
|
"timeout": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": ".cursor/hooks/react-pattern-review.sh",
|
"type": "command",
|
||||||
"timeout": 10
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/yarn-install.sh\"",
|
||||||
|
"timeout": 120
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/react-pattern-review.sh\"",
|
||||||
|
"timeout": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"stop": [
|
"Stop": [
|
||||||
{
|
{
|
||||||
"command": ".cursor/hooks/sync-git-branches.sh",
|
"hooks": [
|
||||||
"timeout": 60
|
{
|
||||||
},
|
"type": "command",
|
||||||
{
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/sync-git-branches.sh\"",
|
||||||
"command": ".cursor/hooks/react-pattern-review.sh",
|
"timeout": 60
|
||||||
"timeout": 10
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "command",
|
||||||
"command": ".cursor/hooks/code-quality-review-reminder.sh",
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/react-pattern-review.sh\"",
|
||||||
"timeout": 10
|
"timeout": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": ".cursor/hooks/verify.sh",
|
"type": "command",
|
||||||
"timeout": 60
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/code-quality-review-reminder.sh\"",
|
||||||
|
"timeout": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "bash \"$(git rev-parse --show-toplevel)/.cursor/hooks/verify.sh\"",
|
||||||
|
"timeout": 60
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user