prettier/tests/flow/new_react
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
fakelib Move tests around (#454) 2017-01-24 14:35:37 -08:00
FeedUFI.react.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
Mixin.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
UFILikeCount.react.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
bad_default_props.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
classes.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
import-react.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
new_react.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
propTypes.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
props.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
props2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
props3.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
props4.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
props5.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
state.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
state2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
state3.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
state4.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
state5.js Move tests around (#454) 2017-01-24 14:35:37 -08:00