mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-21 05:01:30 +02:00
Update CONTRIBUTING.md style guide slightly.
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user