Template
.claude/settings.json aktualisiert
This commit is contained in:
1 parent
cec573f682
commit
44b96f5969
1 file changed
+34
-8
+34
-8
@@ -1,18 +1,44 @@
|
|||||||
{
|
{
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"defaultMode": "plan",
|
"defaultMode": "plan",
|
||||||
"deny": [
|
"allow": [
|
||||||
"Bash(git add:*)",
|
"Bash(git status:*)",
|
||||||
|
"Bash(git diff:*)",
|
||||||
|
"Bash(git log:*)",
|
||||||
|
"Bash(git fetch:*)",
|
||||||
|
"Bash(git pull:*)",
|
||||||
|
"Bash(git switch main:*)",
|
||||||
|
"Bash(git switch -c feat/:*)",
|
||||||
|
"Bash(git switch -c fix/:*)",
|
||||||
|
"Bash(git switch -c chore/:*)",
|
||||||
|
"Bash(git add:*)"
|
||||||
|
],
|
||||||
|
"ask": [
|
||||||
"Bash(git commit:*)",
|
"Bash(git commit:*)",
|
||||||
"Bash(git push:*)",
|
"Bash(git push:*)"
|
||||||
"Bash(git switch:*)",
|
],
|
||||||
"Bash(git checkout:*)",
|
"deny": [
|
||||||
"Bash(git branch:*)",
|
"Bash(git push origin main:*)",
|
||||||
|
"Bash(git push origin HEAD:main:*)",
|
||||||
|
"Bash(git push --force:*)",
|
||||||
|
"Bash(git push -f:*)",
|
||||||
|
"Bash(git push --force-with-lease:*)",
|
||||||
"Bash(git merge:*)",
|
"Bash(git merge:*)",
|
||||||
"Bash(git rebase:*)",
|
"Bash(git rebase:*)",
|
||||||
"Bash(git reset:*)",
|
"Bash(git reset:*)",
|
||||||
"Bash(git stash:*)",
|
"Bash(git branch -D:*)",
|
||||||
|
"Bash(git branch -d:*)",
|
||||||
"Read(~/.claude/projects/**)"
|
"Read(~/.claude/projects/**)"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"hooks": {
|
||||||
|
"PreToolUse": [
|
||||||
|
{
|
||||||
|
"matcher": "Bash",
|
||||||
|
"hooks": [
|
||||||
|
{ "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/schutz-main.sh\"" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user