Skip to content

Commit d090f4c

Browse files
Merge pull request #24 from gleanwork/chore/post-tool-use-validation-hook
chore: add PostToolUse hook to validate plugins on edit
2 parents 94c2234 + ff6e22a commit d090f4c

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"hooks": {
3+
"PostToolUse": [
4+
{
5+
"matcher": "Edit|Write",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "node scripts/validate-plugins.mjs 2>&1 | tail -30"
10+
}
11+
]
12+
}
13+
]
14+
}
15+
}

0 commit comments

Comments
 (0)