CUR-011: Unknown Cursor Hook Event Name - Cursor
Summary
- Rule ID:
CUR-011 - Severity:
MEDIUM - Category:
Cursor - Normative Level:
SHOULD - Auto-Fix:
Yes (safe) - Verified On:
2026-02-14
Applicability
- Tool:
cursor - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
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
{"version":1,"hooks":{"unknownEvent":[{"type":"command","command":"echo start"}]}}
Valid
{"version":1,"hooks":{"sessionStart":[{"type":"command","command":"echo start"}]}}