Skip to content
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

WriterFunctions.returnStatement should do hanging indent in certain cases #636

Closed
dsherret opened this issue May 30, 2019 · 0 comments
Closed

Comments

@dsherret
Copy link
Owner

For example, in this case:

return someCondition
    && otherCondition
    && finalCondition;

But not when using braces:

return {
    prop
};

That should be the general rule for most statements that use this.

@dsherret dsherret added this to the 3.0.0 milestone May 30, 2019
dsherret added a commit that referenced this issue Jun 1, 2019
@dsherret dsherret closed this as completed Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant