prettier/tests/comments
Davy Duperron c32e0339d0 Fix missing dangling comments in for loop (#742)
* Add dangling comments printing in for loops.

* Add new tests.

* Simplify implementation by moving dangling comments upfront.

* Update tests accordingly.
2017-02-20 09:17:10 -05:00
..
__snapshots__ Fix missing dangling comments in for loop (#742) 2017-02-20 09:17:10 -05: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 missing dangling comment in exports (#741) 2017-02-19 14:39:09 -08:00
dangling_array.js Fix missing dangling comments in arrays (#744) 2017-02-19 17:25:18 -08:00
dangling_for.js Fix missing dangling comments in for loop (#742) 2017-02-20 09:17:10 -05:00
first-line.js Remove first line special case (#597) 2017-02-04 21:36:48 -05: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
jsx.js Fix single indented JSX comment (#596) 2017-02-04 21:37:18 -05:00
preserve-new-line-last.js Fix trailing new lines preservation (#724) 2017-02-16 09:56:12 -05:00
return-statement.js Fix comments in return statement argument (#657) 2017-02-13 18:35:42 -08:00
try.js Better support try/catch comments (#607) 2017-02-04 21:25:29 -05:00