mirror of
https://github.com/dockersrc/go
synced 2026-06-24 14:01:08 -04:00
🔧 Add Claude Code project settings and fix gitignore 🔧
- .claude/settings.json: permission allowlist for docker buildx/ps/run/pull, make check/test/build, curl fetches, and the project gitcommit invocation; reduces per-command permission prompts during development - .gitignore: expand Claude Code ignore patterns to cover all runtime and personal files (backups/, cache/, file-history/, history.jsonl, projects/, statsFile, *.lock) per project_files.md rules; settings.json is a committable project config and remains tracked .claude/ .gitignore
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(docker buildx *)",
|
||||||
|
"Bash(docker image *)",
|
||||||
|
"Bash(docker images *)",
|
||||||
|
"Bash(docker system df *)",
|
||||||
|
"Bash(docker stats --no-stream *)",
|
||||||
|
"Bash(docker ps *)",
|
||||||
|
"Bash(docker run --rm *)",
|
||||||
|
"Bash(docker info *)",
|
||||||
|
"Bash(docker pull *)",
|
||||||
|
"Bash(make check *)",
|
||||||
|
"Bash(make test *)",
|
||||||
|
"Bash(make build *)",
|
||||||
|
"Bash(curl -fsSL *)",
|
||||||
|
"Bash(curl -fsSo *)",
|
||||||
|
"Bash(curl -fsSLI *)",
|
||||||
|
"Bash(gitcommit --dir /root/Projects/github/dockersrc/go all)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -112,6 +112,12 @@ Session.vim
|
|||||||
### AI tool local configs (personal settings, never commit) ###
|
### AI tool local configs (personal settings, never commit) ###
|
||||||
# Claude Code
|
# Claude Code
|
||||||
.claude/settings.local.json
|
.claude/settings.local.json
|
||||||
|
.claude/backups/
|
||||||
|
.claude/cache/
|
||||||
|
.claude/file-history/
|
||||||
|
.claude/history.jsonl
|
||||||
|
.claude/projects/
|
||||||
|
.claude/statsFile
|
||||||
.claude/*.lock
|
.claude/*.lock
|
||||||
|
|
||||||
# Cursor
|
# Cursor
|
||||||
|
|||||||
Reference in New Issue
Block a user