chore: track claude project settings and lint hook

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QwNRDG9WaKM3Bb9WJddFzx
This commit is contained in:
kamask
2026-10-22 13:07:47 +03:00
co-authored by Claude Sonnet 5.5
parent b0a024754a
commit 1dcf03cfa6
3 changed files with 51 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
{
"permissions": {
"allow": [
"mcp__angular-cli__list_projects",
"mcp__angular-cli__get_best_practices",
"Bash(git switch *)"
]
},
"enabledMcpjsonServers": ["angular-cli"],
"enabledPlugins": {
"frontend-design@anthropic-plugin-directory": true
},
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/lint-format-file.sh\" \"$(jq -r '.tool_response.filePath // .tool_input.file_path')\"",
"statusMessage": "ESLint --fix + Prettier..."
}
]
}
]
}
}