File tree Expand file tree Collapse file tree 3 files changed +30
-13
lines changed
Expand file tree Collapse file tree 3 files changed +30
-13
lines changed Original file line number Diff line number Diff line change 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+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,4 +3,8 @@ FROM node:20-slim
33RUN npm install -g pnpm
44
55RUN 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
You can’t perform that action at this time.
0 commit comments