Formalize standard set of Claude permissions
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(cat:*)",
|
||||
"Bash(find:*)",
|
||||
"Bash(gh issue:*)",
|
||||
"Bash(gh label:*)",
|
||||
"Bash(git show:*)",
|
||||
"Bash(grep:*)",
|
||||
"Bash(head:*)",
|
||||
"Bash(ls:*)",
|
||||
"Bash(mise generate:*)",
|
||||
"Bash(mise run:*)",
|
||||
"Bash(mise tasks:*)",
|
||||
"Bash(mix *)",
|
||||
"Bash(mkdir:*)",
|
||||
"Bash(mv:*)",
|
||||
"Bash(python3:*)",
|
||||
"Bash(shellcheck:*)",
|
||||
"Bash(sqlite3:*)",
|
||||
"Bash(wc:*)",
|
||||
"Bash(while read dir)",
|
||||
"Bash(xargs sed:*)",
|
||||
"WebFetch(domain:github.com)",
|
||||
"WebFetch(domain:hex.pm)",
|
||||
"WebFetch(domain:hexdocs.pm)",
|
||||
"WebSearch",
|
||||
"mcp__plugin_chrome-devtools-mcp_chrome-devtools",
|
||||
"mcp__tidewave"
|
||||
]
|
||||
},
|
||||
"enableAllProjectMcpServers": true,
|
||||
"hooks": {
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Edit|Write",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format-elixir.sh",
|
||||
"timeout": 30
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/gettext-extract.sh",
|
||||
"timeout": 30,
|
||||
"async": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user