prettier/tests/last_argument_expansion
Royce Townsend 9eb389b9f4 Group first arg for inline functions (#947)
* Group first arg for inline functions

* Group first arg. Unless there are comments.

* Group first arg. Allow second arg to be empty object/array.

This implementation has a side effect of disallowing empty objects/arrays in the should group last arg heuristic.
2017-03-18 11:20:07 -07:00
..
__snapshots__ Group first arg for inline functions (#947) 2017-03-18 11:20:07 -07:00
arrow.js Add CallExpression to the last argument expansion whitelist (#470) 2017-01-26 17:24:50 -05:00
break-parent.js Use breakParent inside of last arrow expansion (#559) 2017-02-03 16:15:21 -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
overflow.js Group first arg for inline functions (#947) 2017-03-18 11:20:07 -07:00