From e144994f7ffffa586941bebd5e8661018b2a7935 Mon Sep 17 00:00:00 2001 From: "user.email" Date: Tue, 5 May 2026 21:35:18 +0200 Subject: [PATCH] document code style preference for hook spacing --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index b3b95a3..59a8709 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,3 +24,9 @@ For UI/UX changes, type-checks aren't enough — drive the app via the **Playwri Typical loop: edit → dev server hot-reloads → snapshot/interact → check console + `.logs/*` → iterate. A `config.yaml` with valid tokens already exists locally; don't overwrite it. + +## Code style + +Things `oxfmt`/`oxlint` won't catch but we still care about: + +- **Blank lines around React hook calls.** Separate `useEffect`, `useMemo`, `useCallback`, etc. from surrounding code and from each other with a blank line above and below. Multi-statement hook bodies are easier to scan when they aren't visually fused to neighboring lines.