mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Documents the comment sentence convention.
Adds the sentence rule to the C# conventions and the contributor guide, including its scope, the generated and tool-configuration exclusions, the bare AAA markers, the lowercase TODO bodies and the untouched commented-out code.
This commit is contained in:
1 parent
b8cd34fa90
commit
980e575fa4
2 files changed
+2
-1
No files matched your search
@@ -444,6 +444,7 @@ namespace MyNamespace // Not Allowed
|
||||
```
|
||||
|
||||
#### Formatting:
|
||||
- Write comments as sentences: capitalize the first word and end with a period. `TODO`, `FIXME`, `HACK`, `XXX` and `NOTE` bodies stay lowercase after the colon, and commented-out code is left exactly as written.
|
||||
- Use a single space after keywords in control flow statements. For example:
|
||||
```csharp
|
||||
if (condition) // Correct
|
||||
|
||||
Reference in new issue
Block a user