prettier/tests/arrows
Christopher Chedeau 789a3029f4 Remove +1 from newline detection (#261)
* Remove +1 from newline detection

All the changes are related to spurious `;`. Sometimes the logic is more correct, sometimes less. Since `;` are going to be removed after the first save, I don't think it matters that much.

* Handle inconsistent `end` node locations when looking for newlines
2017-01-17 22:33:55 -05:00
..
__snapshots__ Remove +1 from newline detection (#261) 2017-01-17 22:33:55 -05:00
advanced_arrows.js Add testing 2016-12-23 19:51:53 +00:00
arrow_function_expression.js Fix parens for functions inside TaggedTemplateExpression (#259) 2017-01-16 19:47:13 -08:00
arrows.js Add testing 2016-12-23 19:51:53 +00: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