New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update opening_brace
for multiline if statements
#3720
Labels
Comments
looks like while
let child = parent.children.first,
let grandchild = child.children.first,
let greatGrandchild = grandchild.children.first
{
// Some code
}
guard
let child = parent.children.first,
let grandchild = child.children.first,
let greatGrandchild = grandchild.children.first
else {
// Some code
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Issue Checklist
Rule update request
Similar to #3068 I'd like to propose a change to
opening_brace
to allow the following format:or
Currently the autocorrect will fix it to the following which is difficult to read:
The text was updated successfully, but these errors were encountered: