Using inline comments (/* */) before an element attribute's value in JSX causes document to not be formatted #11242
Labels
area:comments
Issues with how Prettier prints comments
lang:jsx
Issues affecting JSX (not general JS issues)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.3.2
Playground link
Input:
Output:
Expected behaviour:
The document should be formatted as usual
The text was updated successfully, but these errors were encountered: