mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-24 08:39:53 +01:00
Update code style (rearrange items)
@@ -1,6 +1,6 @@
|
|||||||
* Lines no longer than 80 characters
|
* Lines no longer than 80 characters
|
||||||
* Egyptian brackets (`else/catch/finally` continue the same line as the preceding bracket)
|
|
||||||
* Tabs for indentation, tab width of 4
|
* Tabs for indentation, tab width of 4
|
||||||
|
* Egyptian brackets (`else/catch/finally` continue the same line as the preceding bracket)
|
||||||
* `if/else/for/while` may omit brackets if the body fits on a single line
|
* `if/else/for/while` may omit brackets if the body fits on a single line
|
||||||
* If the `if` uses brackets, the `else` should too (and vice versa)
|
* If the `if` uses brackets, the `else` should too (and vice versa)
|
||||||
* Use `foo` rather than `mFoo`, `_foo`, etc for field names
|
* Use `foo` rather than `mFoo`, `_foo`, etc for field names
|
||||||
|
|||||||
Reference in New Issue
Block a user