summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/opencode.json b/opencode.json
index 59748f927..57b940082 100644
--- a/opencode.json
+++ b/opencode.json
@@ -3,7 +3,11 @@
"experimental": {
"hook": {
"file_edited": {
- ".json": []
+ ".json": [
+ {
+ "command": ["bun", "run", "prettier", "$FILE"]
+ }
+ ]
},
"session_completed": [
{