prettier/tests/arrows
Christopher Chedeau 4540f473e9 Put short body of arrow functions on the same line (#829)
By adding a group, we can avoid adding a newline if the expression fits in a single line.

Fixes #800
2017-02-27 17:18:43 -05:00
..
__snapshots__ Put short body of arrow functions on the same line (#829) 2017-02-27 17:18:43 -05:00
arrow_function_expression.js Add parenthesis for arrow function inside of ternary (#408) 2017-01-22 16:16:57 -08:00
block_like.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
jsfmt.spec.js Add testing 2016-12-23 19:51:53 +00: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