docs(rules): align technology comment rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Julian lechnerandClaude Opus 5.5 committed 2026-10-01 10:22:50 +02:00
1 parent 996233c663
commit bed90fee2d
3 files changed
+3 -3

No files matched your search

@@ -38,7 +38,7 @@
* Remove dead code.
* Remove unused imports and dependencies.
* Remove commented-out code instead of keeping it in source files.
* Do not add comments unless the user explicitly requests them.
* Add comments only for non-obvious decisions or public contracts.
* Treat Angular, TypeScript and lint warnings seriously.
* Do not suppress diagnostics without a concrete reason.
* Prefer correctness, security and maintainability over cleverness.
@@ -9,4 +9,4 @@ Apply these rules when changing TypeScript syntax, control flow, or everyday cod
* Use strict equality. Handle `null` and `undefined` intentionally and do not use `||` when `0`, `false`, or an empty string is a valid value.
* Use optional chaining and nullish coalescing where they clarify behavior; avoid mixing nullish conventions without a project reason.
* Keep naming descriptive and consistent. Avoid vague names and abbreviations unless they are established domain terms.
* Remove dead code and unused imports. Do not add comments unless the user asks or a project rule requires them.
* Remove dead code and unused imports. Add comments only for non-obvious decisions or public contracts.
@@ -44,7 +44,7 @@
* Use descriptive names.
* Remove dead code.
* Remove commented-out code.
* Do not add comments unless the user explicitly requests them.
* Add comments only for non-obvious decisions or public contracts.
* Treat compiler, analyzer and binding warnings seriously.
* Do not suppress warnings without a concrete reason.
* Prefer correctness, responsiveness, security and maintainability over cleverness.