From 0361423a53596daa751b4e0d0dd3ae8fccb8f270 Mon Sep 17 00:00:00 2001 From: PianoNic <79938743+PianoNic@users.noreply.github.com> Date: Thu, 25 Jun 2026 08:11:13 +0200 Subject: [PATCH] Documented the code-formatting convention --- .claude/CLAUDE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index c1f3599..f39d7cb 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -64,6 +64,10 @@ Driven by `application.properties`. `sync-version-on-release.yml` updates both ` You are an expert in TypeScript, Angular, and scalable web application development. Write maintainable, performant, and accessible code following Angular and TypeScript best practices. +### Formatting + +**Declaration signatures go on one line** - don't wrap a function / method / arrow parameter list across multiple lines, however long it gets. This applies to *declarations*, not call sites: leave templates, fluent chains, object / array literals, and multi-line conditionals wrapped as they are. + ### TypeScript - Use strict type checking