- 添加 gofmt 和 goimports 自动审批权限 - 添加 CLAUDE.md 项目指导文件,要求格式化 Go 源码 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
363 B
JSON
18 lines
363 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__context7__resolve-library-id",
|
|
"mcp__context7__get-library-docs",
|
|
"Bash(go mod:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(rmdir:*)",
|
|
"Bash(rm:*)",
|
|
"Bash(gofmt:*)",
|
|
"Bash(goimports:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |