CLN-012: Cline Hook Not Runnable in the VS Code Extension
Summary
- Rule ID:
CLN-012 - 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://docs.cline.bot/customization/clineignore
- https://github.com/cline/cline/blob/main/sdk/examples/hooks/README.md
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
.clinerules/hooks/PreToolUse.sh
Valid
.clinerules/hooks/PreToolUse (no file extension), starting with #!/usr/bin/env bash