prettier/tests/method-chain
Christopher Chedeau e0eb438e7b Add newline for bracket-less arrow functions that return calls (#927)
I've tried a lot of places where to fix this and this is the only one that gives correct results. This is likely not exhaustive but works for that use case. It's been reported twice in issues and I've seen it happen a few other times so we probably want to get it fixed.

Fixes #922
Fixes #797
2017-04-11 08:50:49 -07:00
..
__snapshots__ Add newline for bracket-less arrow functions that return calls (#927) 2017-04-11 08:50:49 -07:00
break-last-call.js Reimplement MemberExpression printing (#469) 2017-01-31 12:32:42 -08:00
comment.js Stabilize comment on member chain with three elements (#1039) 2017-03-20 12:32:49 -04:00
first_long.js Add `this` for Member factory whitelist and remove softline (#782) 2017-02-23 09:41:44 -05:00
inline_merge.js Fix indentation of a merged group (#828) 2017-02-28 10:55:32 -05:00
jsfmt.spec.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
logical.js Allow breaking for logical expressions in member chains (#827) 2017-02-28 09:31:04 -08:00
multiple-members.js Reimplement MemberExpression printing (#469) 2017-01-31 12:32:42 -08:00
square_0.js Group [0] at the end of the previous chain instead of beginning of next one (#784) 2017-02-23 07:34:52 -08:00
test.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
this.js Make all the member expressions but the last one part of the first group (#589) 2017-02-03 16:18:54 -05:00