From e39d2bff2e450294ce7b6e0e04fead191a20e391 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Wed, 4 Feb 2026 13:24:38 +0000 Subject: [PATCH] docs: update javascript style guidelines --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index fc7f058..afe6205 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -580,7 +580,7 @@ newSentinel.className = "infinite-scroll-sentinel h-4 md:hidden"; 6. **Commit authorship**: Never add "Co-Authored-By" trailers to commit messages 7. **Commit signing**: Never use `--no-gpg-sign` when committing — always allow the default GPG signing 8. **Committing**: Do not commit unless explicitly asked to — provide a draft commit message instead -9. **JavaScript style**: Use ES6+ syntax — `const`/`let`, arrow functions, template literals +9. **JavaScript style**: Use ES6+ syntax — `const`/`let`, arrow functions, template literals. Prefer `if`/`else` and `switch` over ternary operators; use ternaries only sparingly for simple, single-level expressions — never nest them ## Communication Style