Skip to content

Commit

Permalink
Changed single-line if guide-line (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrariofilippo authored Sep 7, 2022
1 parent 0f4dabe commit d87d9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/docs/contributing/code-style/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To make the codebase consistent and easy to understand, we require you to follow

### 3. Code readability and clarity

- Use curly brackets for single line `if`, `for` and `foreach` statements.'
- Do not use curly brackets for single line `if`, `for` and `foreach` statements.'
- Do not use `#region` directives
- Align `while();` on the same line of curly bracket of `do..while`
- Use the prefixes `Is`, `Has`, `Have`, `Any`, `Can` or similar keywords for boolean names and method names if
Expand Down

0 comments on commit d87d9e8

Please sign in to comment.