refactor: split config lsp and formatter schemas (#22986)

This commit is contained in:
Dax
2026-04-16 21:35:26 -04:00
committed by GitHub
parent 6405e3a7b1
commit 326471a25c
6 changed files with 63 additions and 51 deletions

View File

@@ -23,6 +23,10 @@ See `specs/effect/migration.md` for the compact pattern reference and examples.
- Use `Effect.callback` for callback-based APIs.
- Prefer `DateTime.nowAsDate` over `new Date(yield* Clock.currentTimeMillis)` when you need a `Date`.
## Module conventions
- 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.
## Schemas and errors
- Use `Schema.Class` for multi-field data.