prettier/tests/flow/intersection
Christopher Chedeau dc0fbf7822 Special logic for flow intersection (#1018)
We started using the same logic for union and intersection but then added a special case for `a & {}`. It turns out that they should be handled completely differently in practice.

The heuristic i'm using is if you go from object to non-object or vis-versa, then inline, otherwise go to the next line and indent (like &&).

Fixes #864
Fixes #1017
2017-03-22 10:01:34 -07:00
..
__snapshots__ Special logic for flow intersection (#1018) 2017-03-22 10:01:34 -07:00
lib Revert "Improve snapshot naming" (#1070) 2017-03-21 17:38:28 -07:00
intersection.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
objassign.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
pred.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
test_fun.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
test_obj.js Move tests around (#454) 2017-01-24 14:35:37 -08:00