diff options
| author | Dax <[email protected]> | 2026-04-16 21:35:26 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-17 01:35:26 +0000 |
| commit | 326471a25c50cb83d33e6b327bc88faf38a4db11 (patch) | |
| tree | f46019afa908f90e8dd529aaeb5c66deb1cb1421 /AGENTS.md | |
| parent | 6405e3a7b12d49ade2f251360d221999836ccc02 (diff) | |
| download | opencode-326471a25c50cb83d33e6b327bc88faf38a4db11.tar.gz opencode-326471a25c50cb83d33e6b327bc88faf38a4db11.zip | |
refactor: split config lsp and formatter schemas (#22986)
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |
