Skip to content

Commit

Permalink
Coding style: Remove compiler directives (#8757)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-mikula-sonarsource authored Feb 16, 2024
1 parent 4f18a86 commit 32f2bdb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/coding-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ Variable name `sut` (System Under Test) is recommended in unit tests that really
* Use `is {}` and `is not null` as null-checks (instead of `!= null`).
* Var pattern `is var o` can be used only where variable declarations would require additional nesting.
* Var pattern `o is { P: var p }` can be used only where `o` can be `null` and `p` is used at least 3 times.
* Each compiler directive outside method body (namely `#if`/`#endif`) should be preceded and followed by an empty line.
* Do not use `nullable`.

## Comments
Expand Down

0 comments on commit 32f2bdb

Please sign in to comment.