docs(opencode): describe enabled plugin hook checks

This commit is contained in:
Huanyi Xie
2026-10-06 10:33:23 +03:00
parent ef648e0189
commit 25d7e71be6
+5 -1
View File
@@ -301,7 +301,11 @@ interface Repository<T> {
## OpenCode-Specific Notes
Since OpenCode does not support hooks, the following actions that were automated in Claude Code must be done manually:
OpenCode supports hooks through its [plugin system](https://opencode.ai/docs/plugins/).
The ECC plugin automates selected checks when installed and enabled; see
[Hook Runtime Controls](../README.md#hook-runtime-controls) for hook profiles and disabled hook IDs.
Formatting and type checking require the `strict` profile. Run the checks below manually
when the plugin is unavailable, hooks are disabled, or the active profile does not include them.
### After Writing/Editing Code
- Run `prettier --write <file>` to format JS/TS files