prettier/tests/break-calls
Jed Fox fa7eafaa6d
Add support for the React `useEffect` hook (#5608)
* Add support for the React `useEffect` hook

* Format

* Format

* [Refactor] remove unnecessary condition

`canHaveTrailingComma` is defined as `I(lastElem && ...)`, which will always be true when `lastElem === null`.

* Use a hacky method to allow the array to break

* Revert "[Refactor] remove unnecessary condition"

This reverts commit 91906ba22438afa0fe5e10c64a1fcf3cfa484ff3.

* Add tests for `React.useEffect` form
2018-12-10 06:09:20 -05:00
..
__snapshots__ Add support for the React `useEffect` hook (#5608) 2018-12-10 06:09:20 -05:00
break.js Fix function call args (#809) 2017-02-25 09:56:13 -08:00
jsfmt.spec.js Change run_spec to have explicit parser list (#3356) 2017-11-30 03:31:52 -03:00
parent.js Add breakParent support for willBreak (#674) 2017-03-17 13:51:22 -04:00
react.js Add support for the React `useEffect` hook (#5608) 2018-12-10 06:09:20 -05:00