summaryrefslogtreecommitdiffhomepage
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDax <[email protected]>2026-04-16 21:35:26 -0400
committerGitHub <[email protected]>2026-04-17 01:35:26 +0000
commit326471a25c50cb83d33e6b327bc88faf38a4db11 (patch)
treef46019afa908f90e8dd529aaeb5c66deb1cb1421 /AGENTS.md
parent6405e3a7b12d49ade2f251360d221999836ccc02 (diff)
downloadopencode-326471a25c50cb83d33e6b327bc88faf38a4db11.tar.gz
opencode-326471a25c50cb83d33e6b327bc88faf38a4db11.zip
refactor: split config lsp and formatter schemas (#22986)
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index a7895c831..44d08ae95 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -14,6 +14,7 @@
- Use Bun APIs when possible, like `Bun.file()`
- Rely on type inference when possible; avoid explicit type annotations or interfaces unless necessary for exports or clarity
- Prefer functional array methods (flatMap, filter, map) over for loops; use type guards on filter to maintain type inference downstream
+- In `src/config`, follow the existing self-export pattern at the top of the file (for example `export * as ConfigAgent from "./agent"`) when adding a new config module.
Reduce total variable count by inlining when a value is only used once.