Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:08:57 +08:00
commit e05271052a
4 changed files with 77 additions and 0 deletions

17
hooks/hooks.json Normal file
View File

@@ -0,0 +1,17 @@
{
"description": "Automatically lint and format Go files using goimports and go vet",
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/go-lint.sh",
"timeout": 30
}
]
}
]
}
}