Skip to content

Commit 5f6ce84

Browse files
committed
ci: add claude code hooks for formatters
1 parent 8a07733 commit 5f6ce84

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.claude/settings.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"hooks": {
3+
"PostToolUse": [
4+
{
5+
"matcher": "Write|Edit|MultiEdit",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "stylua src/lua"
10+
},
11+
{
12+
"type": "command",
13+
"command": "ruff format -s src/balatrobot"
14+
}
15+
]
16+
}
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)