mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 09:41:46 +00:00
b632d27cdd
* ci: add agent instructions and ClaudeCode hooks * refactor: rename start-check and use schemas * fix: remove redundant flow diagram * refactor: add block utility * docs: add reference to development documentation * ci: add pretooluse hook * test: remove unnecessary schema tests * ci: add --all flag run fixer and linters in a single command * ci: switch stop hook to `pnpm check --all` * refactor: use simple git * refactor: use zod/v4 * ci: prevent usages of pnpm vitest * ci: add must read and code example for codeBlock * fixup! simplegit by allowing user pagers and editors * ci(agent hooks): run installs on worktree changes * docs: shorten description * chore: remove additional new line at the end * explicitly fail if parsing fails * fix: rename to kebabcase * docs: reduce commands highlighted for local dev
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(pnpm oxlint:*)",
|
|
"Bash(pnpm type-check:*)",
|
|
"Bash(pnpm vitest:*)",
|
|
"WebFetch(domain:docs.jsonata.org)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"$CLAUDE_PROJECT_DIR/tools/agents/hooks/pretooluse-check.ts\""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"$CLAUDE_PROJECT_DIR/tools/agents/hooks/sessionstart-check.ts\""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"CwdChanged": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"$CLAUDE_PROJECT_DIR/tools/agents/hooks/cwdchanged-check.ts\""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"$CLAUDE_PROJECT_DIR/tools/agents/hooks/stop-check.ts\""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|