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-03-28
Applicability
- Tool:
cline - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
false - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{
"hooks": { "on_magic": [{ "command": "npm test" }] }
}
Valid
{
"hooks": { "on_save": [{ "command": "npm test" }] }
}