-
Notifications
You must be signed in to change notification settings - Fork 69
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
V2 Fixes #883
base: master
Are you sure you want to change the base?
V2 Fixes #883
Conversation
Is it not possible to support that? It's a requirement for YASGuide. |
Is the example above, with the return added, not a dealbreaker for YAS? It's really tricky to only add return in cases where not nothing is returned. I think in v1 this was broken in a bunch of ways but functional enough that it worked for most cases. In v2 this was fixed but the downside is that you get |
I'm not sure about the other style guides but at least for YAS the |
I'll put this back in for YAS style.
right, we would need to do side effect analysis which is out of scope for a formatter from my PoV. |
… just not doing that completely anymore
fixes #878
The
return
is no longer added fordo
expressions.