Commit 9e7deb5
committed
[lint] disable
* This rule `opening_brace` declares opening braces should be on the same line as the declaration
* However for multiline if / let statements, it makes it harder to read:
if let blah = blah,
let foo = blah.foo {
// do something, less readable
}
if let blah = blah,
let foo = blah.foo
{
// do something, more readable
}
* See linked PR for an upcoming option, so we can re-enable this ruleopening_brace for multiline readability1 parent caee127 commit 9e7deb5
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments