prettier/tests/jsx-stateless-arrow-fn
Stephen Scott 3ed2bae1b4 Improve JSX ternary formatting
* Now JSX-mode ternaries only break if they need to. 
* Only the outermost ternary in a chain of JSX-mode ternaries will become a group.
* We don't wrap null in parens when breaking JSX-mode ternaries.

This commit also improves the test coverage and explanation in tests/jsx/conditional-expression.js.
2017-07-13 10:21:58 -06:00
..
__snapshots__ Improve JSX ternary formatting 2017-07-13 10:21:58 -06:00
jsfmt.spec.js Feature/verify against same snapshot (#1087) 2017-03-25 08:10:17 -07:00
test.js Improve JSX Formatting 2017-07-13 10:20:42 -06:00