prettier/tests/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
intersection.js Special logic for flow intersection (#1018) 2017-03-22 10:01:34 -07:00
jsfmt.spec.js Special logic for flow intersection (#1018) 2017-03-22 10:01:34 -07:00