Files
code-crispies/.claude/settings.json
Michael Czechowski b1ab23b579 feat(claude-code): add project settings and commands
- Add .claude/settings.json with permissions and hooks
- Add /format-lessons slash command
- Add .claude/settings.local.json to .gitignore
2026-01-07 14:13:59 +01:00

30 lines
546 B
JSON

{
"permissions": {
"allow": [
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git push:*)",
"Bash(npm run build:*)",
"Bash(grep:*)",
"Bash(npm run format.lessons:*)",
"Bash(xargs:*)",
"Bash(cat:*)",
"Bash(prettier --write:*)"
],
"deny": ["Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)"]
},
"hooks": {
"PostToolUse": [
{
"matcher": "Write(lessons/**/*.json)",
"hooks": [
{
"type": "command",
"command": "npm run format.lessons 2>/dev/null || true"
}
]
}
]
}
}