prettier/tests/trailing_comma
Christopher Chedeau ea957ed64a Fix function trailing comment location (#1195)
It turns out that we can't reliably detect with the ast if a comment is before or after the ). In order to fix this same problem with `if` I added the `getNextNonSpaceNonCommentCharacter` function. We can use the same here to fix the problem.

Fixes #933
2017-04-12 14:18:29 -07:00
..
__snapshots__ Fix function trailing comment location (#1195) 2017-04-12 14:18:29 -07:00
es5.js Do not put trailing commas for function declaration in es5 mode (#791) 2017-02-23 09:01:19 -08:00
function-calls.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
jsfmt.spec.js Feature/verify against same snapshot (#1087) 2017-03-25 08:10:17 -07:00
object.js Fix spurious whitespace (#463) 2017-01-25 16:24:16 -05:00
trailing_whitespace.js Fix function trailing comment location (#1195) 2017-04-12 14:18:29 -07:00