1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ "hooks":
{ "PostToolUse":
[ { "matcher": "Edit|MultiEdit|Update|Write"
, "hooks":
[ { "type": "command"
, "command": "make format"
}
]
}
]
}
, "permissions":
{ "allow":
[ "Bash(make)"
, "Bash(make clean)"
, "Bash(make debug)"
, "Bash(make release)"
, "Bash(zig build)"
]
, "deny":
[ "Read(.env)"
, "Edit(build.zig)"
, "MultiEdit(build.zig)"
, "Update(build.zig)"
, "Write(build.zig)"
, "Edit(GNUmakefile)"
, "MultiEdit(GNUmakefile)"
, "Update(GNUmakefile)"
, "Write(GNUmakefile)"
]
}
}
|