mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
add exception for uncuddling brackets
This commit is contained in:
parent
6b6edf959d
commit
0612b5fa68
@ -126,6 +126,15 @@ between it and the opening control block statement. Examples:
|
||||
|
||||
do {
|
||||
|
||||
Exceptions:
|
||||
|
||||
- if you have long logic statements that need to be wrapped, then uncuddling
|
||||
the bracket to improve readability is allowed:
|
||||
|
||||
if (some_really_long_checks && some_other_really_long_checks \
|
||||
&& some_more_really_long_checks)
|
||||
{
|
||||
do_foo_now;
|
||||
|
||||
Spacing around Parentheses
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user