Line comment between function an opening brace #5241
Labels
area:comments
Issues with how Prettier prints comments
difficulty:easy
Issues that should be easy to fix. Resolve me on the train to work!
lang:javascript
Issues affecting JS
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:bug
Issues identifying ugly output, or a defect in the program
If you have the opening brace of a function on its own line, and a line comment after the function signature, the output of prettier is different if you run it once or twice.
Prettier 1.14.3
Playground link
Input:
Output:
Second Output:
The text was updated successfully, but these errors were encountered: