prettier/tests/flow/conditional
Christopher Chedeau 3b66af3d60 Remove the concept of globalPrecedingNode (#561)
The original motivation for this change is trying to fix #560 where the comment was attached to the JSXText node instead of the JSXExpressionContainer because it used the globalPrecedingNode. In general, I don't think that it is very safe to attach a comment to a random node just because it happened to be before.

I tried to delete the globalPrecedingNode codepath and I think that it actually improves the results. I'll add inline comments in the pull request to explain the various changes.

Fixes #560
2017-02-03 13:56:06 -08:00
..
__snapshots__ Remove the concept of globalPrecedingNode (#561) 2017-02-03 13:56:06 -08:00
conditional.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
jsfmt.spec.js Move tests around (#454) 2017-01-24 14:35:37 -08:00