Update CONTRIBUTING.md style guide slightly.
This commit is contained in:
parent
5c3c4c84b6
commit
302f0a5a04
@ -69,10 +69,10 @@ Some recommendations:
|
||||
|
||||
* Above all, be consistent!
|
||||
* Spaces, not tabs.
|
||||
* We prefer "Egyptian brackets":
|
||||
* We prefer "Egyptian brackets" (in `if`, `for`, `while`, `switch`, etc.):
|
||||
* `if (...) {`
|
||||
* `} else {`
|
||||
* `} else if (...) {`
|
||||
* `} else {`
|
||||
* `}`
|
||||
* Constants in `UPPER_SNAKE_CASE`
|
||||
* Class names in `PascalCase` a.k.a. `UpperCamelCase`
|
||||
|
Loading…
Reference in New Issue
Block a user