From efe43ca3a80b5d417e42e6a597a3637fe6d48984 Mon Sep 17 00:00:00 2001 From: centdix <40307056+centdix@users.noreply.github.com> Date: Sun, 14 Dec 2025 23:27:29 +0100 Subject: [PATCH] add claude config (#7366) --- .claude/settings.json | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000000..b446063edd --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,62 @@ +{ + "permissions": { + "allow": [ + "Read(**/*.rs)", + "Bash(ls:*)", + "Bash(grep:*)", + "Bash(cat:*)", + "Bash(head:*)", + "Bash(tail:*)", + "Bash(less:*)", + "Bash(more:*)", + "Bash(find:*)", + "Bash(wc:*)", + "Bash(diff:*)", + "Bash(file:*)", + "Bash(stat:*)", + "Bash(tree:*)", + "Bash(pwd)", + "Bash(which:*)", + "Bash(whereis:*)", + "Bash(echo:*)", + "Bash(git status:*)", + "Bash(git diff:*)", + "Bash(git log:*)", + "Bash(git branch:*)", + "Bash(git show:*)", + "Bash(git blame:*)" + ], + "deny": [ + "Read(.env)", + "Read(.env.*)", + "Read(**/.env)", + "Read(**/.env.*)", + "Read(**/secrets/**)", + "Read(**/*.pem)", + "Read(**/*.key)", + "Read(**/credentials.json)", + "Read(**/*secret*)", + "Edit(.env)", + "Edit(.env.*)", + "Edit(**/.env)", + "Edit(**/.env.*)" + ], + "ask": [ + "Bash(rm:*)", + "Bash(rmdir:*)", + "Bash(mv:*)", + "Bash(chmod:*)", + "Bash(chown:*)", + "Bash(truncate:*)", + "Bash(shred:*)", + "Bash(unlink:*)", + "Bash(git push:*)", + "Bash(git reset:*)", + "Bash(git revert:*)", + "Bash(git checkout:*)", + "Bash(git merge:*)", + "Bash(git rebase:*)" + ] + }, + "enableAllProjectMcpServers": true +}