From 5bf63067558548d76111e5a86ed92c4df0a4d5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Sat, 4 Apr 2026 02:48:37 +0200 Subject: [PATCH] Update guidelines for code review process Added a guideline to justify or remove unused/dead code. --- .github/copilot-instructions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 72a6d0f9..528ce091 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -69,6 +69,7 @@ Main development branch: `mdev` - **Acknowledge good patterns** when you see them. Summarize good practices as part of your review - positive feedback always helps. - **Provide references** when making analyses or recommendations. Base them on the correct branch or PR. - **Look for user-visible "breaking" changes**. Ask for confirmation that these were made intentionally. +- **Unused / dead code must be justified or removed**. This helps to keep the codebase clean, maintainable and readable. - **C++ formatting available**: `clang-format` is installed but not in CI - No automated linting is configured — match existing code style in files you edit. See `cpp.instructions.md` and `web.instructions.md` for language-specific conventions, and `cicd.instructions.md` for GitHub Actions workflows.