prettier/tests/arrows
Christopher Chedeau d39facc022 Only allow same-line arrow-less body for explicit nodes (#966)
In practice, trying to allow calls to be inlined is causing a lot of code to look very weird and unstable as seen by the four issues this is fixing. It also requires us to add a conditional group and do hackery around it.

Fixes #959
Fixes #760
Fixes #615
Fixes #625
2017-03-09 09:08:12 -08:00
..
__snapshots__ Only allow same-line arrow-less body for explicit nodes (#966) 2017-03-09 09:08:12 -08:00
arrow_function_expression.js Parenthesize function expressions in expression position (#941) 2017-03-07 18:53:42 -08:00
block_like.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
call.js Only allow same-line arrow-less body for explicit nodes (#966) 2017-03-09 09:08:12 -08:00
jsfmt.spec.js Fix binary op as body in arrow expression (#921) 2017-03-07 13:24:47 -08:00
long-call-no-args.js Fix comma when an arrow function with no arguments breaks (#210) 2017-01-14 23:55:38 -05:00
long-contents.js Simplify arrow functions that use blocks (fixes #268) (#496) 2017-01-27 13:39:17 -05:00
short_body.js Put short body of arrow functions on the same line (#829) 2017-02-27 17:18:43 -05:00