prettier/tests/last_argument_expansion
Christopher Chedeau d0bc2991f6 Reimplement MemberExpression printing (#469)
There are currently three issues related to suboptimal rendering of MemberExpression chains. The previous implementation was trying to flatten only a single group at the same time, but it didn't work well because we didn't have the full context to be able to make decisions.

In this implementation, I'm going through the entire chain at the same time and group it into logical units and make decisions based on this. It solves all the problems I can think of and if we need to tweak it in the future, it should be easy.

Fixes #268
Fixes #212
Fixes #21
2017-01-31 12:32:42 -08:00
..
__snapshots__ Reimplement MemberExpression printing (#469) 2017-01-31 12:32:42 -08:00
arrow.js Add CallExpression to the last argument expansion whitelist (#470) 2017-01-26 17:24:50 -05:00
jsfmt.spec.js Last argument expansion works for arrow functions that return JSX (#211) 2017-01-15 00:04:50 -05:00
jsx.js Last argument expansion works for arrow functions that return JSX (#211) 2017-01-15 00:04:50 -05:00
object.js Last argument expansion works for arrow functions that return JSX (#211) 2017-01-15 00:04:50 -05:00