Add blank lines before return statements in all files to satisfy the nlreturn linter. This improves code readability by providing visual separation before return statements. Changes made across 24 files: - internal/cli/*.go - internal/secret/*.go - internal/vault/*.go - pkg/agehd/agehd.go - pkg/bip85/bip85.go All 143 nlreturn issues have been resolved.
29 lines
665 B
JSON
29 lines
665 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:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |