We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae620bb commit b0e7706Copy full SHA for b0e7706
1 file changed
.claude/settings.json
@@ -4,6 +4,7 @@
4
"allow": [
5
"Bash(pnpm typecheck:*)",
6
"Bash(pnpm test:*)",
7
+ "Bash(pnpm build:*)",
8
"Bash(pnpm lint:*)",
9
"Bash(find:*)",
10
"Bash(ls:*)",
@@ -21,7 +22,17 @@
21
22
"hooks": [
23
{
24
"type": "command",
- "command": "pnpm run lint --fix"
25
+ "command": "jq -r '.tool_input.file_path' | { read file_path; if [[ \"$file_path\" =~ \\.(js|jsx|ts|tsx)$ ]]; then pnpm run lint --fix \"$file_path\" || true; fi }"
26
+ }
27
+ ]
28
29
+ ],
30
+ "Stop": [
31
+ {
32
+ "hooks": [
33
34
+ "type": "command",
35
+ "command": "(pnpm run typecheck 1>&2 || exit 2) && (pnpm run lint 1>&2 || exit 2)"
36
}
37
]
38
0 commit comments