We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe6355 commit c3a7be3Copy full SHA for c3a7be3
1 file changed
AGENTS.md
@@ -12,6 +12,8 @@
12
13
- Keep edits consistent with existing formatting.
14
- When adding env/config knobs, document them in `readme-dev.md`.
15
+- When updating discriminated-union/event `switch` statements, do not add a trailing fallback like `return null` only to satisfy TypeScript.
16
+- Handle each variant with an explicit `case`; if intentionally ignored, use an explicit no-op case.
17
18
## Testing Guidelines
19
0 commit comments