aboutsummaryrefslogtreecommitdiff
path: root/languages/go/claude/settings.json
blob: 1bd333aca48a8957eab9d1f4f27306787d7b0024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
  "attribution": {
    "commit": "",
    "pr": ""
  },
  "permissions": {
    "allow": [
      "Bash(make)",
      "Bash(make help)",
      "Bash(make targets)",
      "Bash(make test)",
      "Bash(make test *)",
      "Bash(make coverage)",
      "Bash(make coverage-summary)",
      "Bash(make lint)",
      "Bash(make build)",
      "Bash(go build)",
      "Bash(go build *)",
      "Bash(go test)",
      "Bash(go test *)",
      "Bash(go vet)",
      "Bash(go vet *)",
      "Bash(go run *)",
      "Bash(go list *)",
      "Bash(go env)",
      "Bash(go env *)",
      "Bash(go version)",
      "Bash(go mod tidy)",
      "Bash(go mod verify)",
      "Bash(go mod download)",
      "Bash(go tool cover *)",
      "Bash(gofmt *)",
      "Bash(gofumpt *)",
      "Bash(staticcheck *)",
      "Bash(golangci-lint run *)",
      "Bash(git status)",
      "Bash(git status *)",
      "Bash(git diff)",
      "Bash(git diff *)",
      "Bash(git log)",
      "Bash(git log *)",
      "Bash(git show)",
      "Bash(git show *)",
      "Bash(git blame *)",
      "Bash(git branch)",
      "Bash(git branch -v)",
      "Bash(git branch -a)",
      "Bash(git branch --list *)",
      "Bash(git remote)",
      "Bash(git remote -v)",
      "Bash(git remote show *)",
      "Bash(git ls-files *)",
      "Bash(git rev-parse *)",
      "Bash(git cat-file *)",
      "Bash(git stash list)",
      "Bash(git stash show *)",
      "Bash(jq *)",
      "Bash(date)",
      "Bash(date *)",
      "Bash(which *)",
      "Bash(file *)",
      "Bash(ls)",
      "Bash(ls *)",
      "Bash(wc *)",
      "Bash(du *)",
      "Bash(readlink *)",
      "Bash(realpath *)",
      "Bash(basename *)",
      "Bash(dirname *)"
    ]
  },
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/validate-go.sh"
          }
        ]
      }
    ]
  }
}