-- test.jsx -- ~~ lineWidth: 80, jsx.multiLineParens: never ~~ == should format block comments in jsx expr container == const render = items => (
{ /* eslint-disable */ items.map(item => null) /* eslint-enable */ }
); [expect] const render = items => (
{ /* eslint-disable */ items.map(item => null) /* eslint-enable */ }
); == should handle comment before and after spread ==
;
; [expect]
;
; == should not panic and put space in correct spot == // Test // Test x =
f f f f f f
; [expect] // Test // Test x =
f f f f{" "} f f
; == should use the proper number of backslashes when converting this scenario ==
; [expect]
;