mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-16 05:05:30 +02:00
docs(opencode): describe enabled plugin hook checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user