docs(rules): give each C# rule statement one authoritative file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
30257e72cd
commit
f4f38b38c9
7 files changed
+11
-22
No files matched your search
@@ -5,6 +5,5 @@ Apply these rules when changing tests, package references, analyzers, or build d
|
||||
* Write deterministic behavior-based tests. Avoid coupling assertions to private call order, implementation details, current time, or uncontrolled external services.
|
||||
* Make code testable through clear contracts and dependencies; do not add production hooks or abstractions solely for tests without a concrete need.
|
||||
* Prefer the .NET BCL and existing supported packages over new libraries when they solve the problem adequately.
|
||||
* Keep dependencies minimal, maintained, compatible, and updated through the repository's normal package-management process.
|
||||
* Treat compiler, analyzer, and nullable warnings seriously. Suppress a diagnostic only for a specific, documented reason and narrow the suppression to the affected code.
|
||||
* Run focused tests and analyzers for the changed path; broaden verification when shared behavior or compatibility could be affected.
|
||||
* Include analyzers in the verification of the changed path.
|
||||
Reference in new issue
Block a user