diff --git a/shared/rules/angular/references/testing-and-architecture.md b/shared/rules/angular/references/testing-and-architecture.md index 70a7be2..15cc446 100644 --- a/shared/rules/angular/references/testing-and-architecture.md +++ b/shared/rules/angular/references/testing-and-architecture.md @@ -37,7 +37,6 @@ * Avoid vague names such as `data`, `item`, `value` or `temp` when better names exist. * Remove dead code. * Remove unused imports and dependencies. -* Remove commented-out code instead of keeping it in source files. * 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. diff --git a/shared/rules/refactoring.md b/shared/rules/refactoring.md index d9ec5e3..6825471 100644 --- a/shared/rules/refactoring.md +++ b/shared/rules/refactoring.md @@ -40,7 +40,7 @@ * Avoid unnecessary wrapper classes and indirection. * Prefer composition over inheritance. * Remove dead code when it is clearly unused. -* Remove obsolete comments and commented-out code. +* Remove obsolete comments. * Keep methods and classes focused. ## Architecture diff --git a/shared/rules/wpf/references/architecture-and-quality.md b/shared/rules/wpf/references/architecture-and-quality.md index d0faef4..544cd2e 100644 --- a/shared/rules/wpf/references/architecture-and-quality.md +++ b/shared/rules/wpf/references/architecture-and-quality.md @@ -43,7 +43,6 @@ * Prefer concrete types where no abstraction is required. * Use descriptive names. * Remove dead code. -* Remove commented-out code. * 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.