prettier/tests/destructuring
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
array_rest.js Add testing 2016-12-23 19:51:53 +00:00
computed.js Add testing 2016-12-23 19:51:53 +00:00
defaults.js Add testing 2016-12-23 19:51:53 +00:00
destructuring.js Add testing 2016-12-23 19:51:53 +00:00
destructuring_param.js Fix object and predicate annotations 2016-12-30 13:32:43 -05:00
eager.js Add testing 2016-12-23 19:51:53 +00:00
jsfmt.spec.js Add testing 2016-12-23 19:51:53 +00:00
poly.js Add testing 2016-12-23 19:51:53 +00:00
rec.js Add testing 2016-12-23 19:51:53 +00:00
string_lit.js Add testing 2016-12-23 19:51:53 +00:00
unannotated.js Add testing 2016-12-23 19:51:53 +00:00