prettier/tests/comments
Christopher Chedeau e56fd38604 Make comments between if & else to look good (#544)
While trying to figure out how to handle both MemberExpression comments and IfStatement comments, I ended up doing this one as well... Sorry @yamafaktory :(

The logic is a bit annoying but works.

Fixes #487
2017-02-01 16:23:49 -08:00
..
__snapshots__ Make comments between if & else to look good (#544) 2017-02-01 16:23:49 -08:00
blank.js Refactor comment algorithm and improve newline/spaces detection (fixes #483, #275, #135, #78, #36) (#482) 2017-01-26 11:57:43 -08:00
dangling.js Fix syntax error in empty object with dangling comment (#533) 2017-01-31 06:52:05 -08:00
if.js Make comments between if & else to look good (#544) 2017-02-01 16:23:49 -08:00
issues.js Fix closing call expression commented out (#530) 2017-01-31 06:52:53 -08:00
jsfmt.spec.js Introduce --parser/parser option and deprecate --flow-parser/useFlowParser (#342) 2017-01-19 14:35:12 -08:00