You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think rules should be the same as for usual calls chain:
if right-hand side of ?: is a simple expression and left-hand side too, then they can be on the same line, but also can be split if the line is too long
if RHS expression requires line breaks, ?: should start on a new line:
foo ?: bar.baz().qux()
should be
foo
?: bar
.bar()
.qux()
if LHS already has line breaks, ?: should start on a new line
Describe the bug
should be fixed to
but
?:
isn't placed on a separate lineEnvironment information
The text was updated successfully, but these errors were encountered: