prettier/tests/comments
Christopher Chedeau d90af427fb Fix comment after the last argument of a function (#856)
The issue is that the comment algorithm attaches it to the return type / value but we want to attach it to the previous one.

Fixes #612
2017-03-02 22:17:22 -05:00
..
__snapshots__ Fix comment after the last argument of a function (#856) 2017-03-02 22:17:22 -05:00
assignment-pattern.js Fix missing comments in assignment pattern (#704) 2017-02-20 07:39:08 -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 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
function-declaration.js Fix function declaration params comments (#802) 2017-02-24 07:26:30 -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
jsx.js Fix single indented JSX comment (#596) 2017-02-04 21:37:18 -05:00
last-arg.js Fix comment after the last argument of a function (#856) 2017-03-02 22:17:22 -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
template-literal.js [WIP] Fix comments in template literals (#643) 2017-02-23 09:23:56 -08:00
try.js Better support try/catch comments (#607) 2017-02-04 21:25:29 -05:00