Skip to content

Commit a9e8bc7

Browse files
committed
chore: consolidate Claude settings and enhance devcontainer
1 parent 944f284 commit a9e8bc7

File tree

3 files changed

+30
-13
lines changed

3 files changed

+30
-13
lines changed

.claude/settings.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(find:*)",
5+
"Bash(pnpm run test:*)",
6+
"Bash(pnpm run lint:*)",
7+
"Bash(pnpm run format:*)",
8+
"WebFetch(domain:github.com)"
9+
],
10+
"deny": []
11+
},
12+
"hooks": {
13+
"PostToolUse": [
14+
{
15+
"matcher": "Write|Edit|MultiEdit",
16+
"hooks": [
17+
{
18+
"type": "command",
19+
"command": "jq -r '.tool_input.file_path | select(endswith(\".ts\"))' | xargs -r npx prettier --write"
20+
}
21+
]
22+
}
23+
]
24+
}
25+
}

.claude/settings.local.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

.devcontainer/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ FROM node:20-slim
33
RUN npm install -g pnpm
44

55
RUN apt-get update && apt-get install -y \
6-
git
6+
sudo \
7+
git
8+
9+
# Add node user to sudoers for development container (password-less sudo)
10+
RUN echo 'node ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

0 commit comments

Comments
 (0)