- Remove internal/macse package (Secure Enclave experiment) - Fix errcheck: handle keychain.DeleteItem error return - Fix lll: break long lines in command descriptions - Fix mnd: add nolint comment for cobra.ExactArgs(2) - Fix nlreturn: add blank lines before return/break statements - Fix revive: add nolint comment for KEYCHAIN_APP_IDENTIFIER constant - Fix nestif: simplify UnlockersRemove by using new NumSecrets method - Add NumSecrets() method to vault.Vault for counting secrets - Update golangci.yml to exclude ALL_CAPS warning (attempted various configurations but settled on nolint comment) All tests pass, code is formatted and linted.
34 lines
834 B
JSON
34 lines
834 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(go mod why:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(~/go/bin/govulncheck -mode=module .)",
|
|
"Bash(go test:*)",
|
|
"Bash(grep:*)",
|
|
"Bash(rg:*)",
|
|
"Bash(find:*)",
|
|
"Bash(make test:*)",
|
|
"Bash(go doc:*)",
|
|
"Bash(make fmt:*)",
|
|
"Bash(make:*)",
|
|
"Bash(golangci-lint run:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(gofumpt:*)",
|
|
"Bash(git stash:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(golangci-lint:*)",
|
|
"Bash(git checkout:*)",
|
|
"Bash(ls:*)",
|
|
"WebFetch(domain:golangci-lint.run)",
|
|
"Bash(go:*)",
|
|
"WebFetch(domain:pkg.go.dev)",
|
|
"Bash(CGO_ENABLED=1 make fmt)",
|
|
"Bash(CGO_ENABLED=1 make test)",
|
|
"Bash(git merge:*)",
|
|
"Bash(git branch:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |