mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
Add root CLAUDE.md, LESSONS.md, .env.example, .claude/settings.json hooks (PostToolUse lint, Stop lint+test via bb dev:lint-and-test), and a .gitea/workflows/ci.yml lint+test workflow. No development branch exists here, so CI targets main; version.yml automation is skipped since this repo already has its own tag-driven release/version flow (scripts/bump-version.sh, build.yml on v* tags). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
26 lines
408 B
JSON
26 lines
408 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/hooks/lint-changed.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bb dev:lint-and-test"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|