CLN-009: Unknown Hook Event Name - Cline
Summary
- Rule ID:
CLN-009 - Severity:
MEDIUM - Category:
Cline - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
cline - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://github.com/cline/cline/blob/main/sdk/examples/hooks/README.md
- https://docs.cline.bot/customization/clineignore
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
.cline/hooks/OnSave.sh
Valid
.cline/hooks/PreToolUse.sh (CLI) or .clinerules/hooks/PreToolUse (VS Code extension)