We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code does not appear to be formatted properly. Is there a fix? Thx. dprint.jsonc:
dprint.jsonc
upd:
repro: https://stackblitz.com/~/github.com/predaytor/astro-dprint
playground: https://dprint.dev/playground/#code/DwEwlgbgBAxgNgQwM5ILwCIAOAnA9gKwFMYAXJdAPgCgBIAbxwOLIDoBbBTACi8aNIA0UPswCSIAB4BKKKgpQutGqEixEKDCNKUl9LSRYBzBHDiFsAT3aceAfSRwwIQkIdPC46bPl1dNGLgAdkgkUBKyUIEArqYA3FR+2IQkUdiBUCrQ8Mho6G7OlMAA9OAQFPE0lQC+UlVKxaXUNFK1VA2Q1EA/plugin/markup_fmt
<div class="projects"> { projects.map((project, projectIdx) => ( <div class="project"> { project.gallery.map((_slide, slideIdx) => { const x = null; return <div class="slide"></div>; }) } </div> )) } </div> <!-- expected similar behavior (tested using typescript formatter in .tsx file): --> <!-- <div class="projects"> {projects.map((project, projectIdx) => ( <div class="project"> {project.gallery.map((_slide, slideIdx) => { const x = null; return <div class="slide"></div>; })} </div> ))} </div> -->
The text was updated successfully, but these errors were encountered:
Please provide a minimal reproduction, instead of a large config and a large input file.
Sorry, something went wrong.
updated
No branches or pull requests
This code does not appear to be formatted properly. Is there a fix? Thx.
dprint.jsonc
:upd:
repro: https://stackblitz.com/~/github.com/predaytor/astro-dprint
playground: https://dprint.dev/playground/#code/DwEwlgbgBAxgNgQwM5ILwCIAOAnA9gKwFMYAXJdAPgCgBIAbxwOLIDoBbBTACi8aNIA0UPswCSIAB4BKKKgpQutGqEixEKDCNKUl9LSRYBzBHDiFsAT3aceAfSRwwIQkIdPC46bPl1dNGLgAdkgkUBKyUIEArqYA3FR+2IQkUdiBUCrQ8Mho6G7OlMAA9OAQFPE0lQC+UlVKxaXUNFK1VA2Q1EA/plugin/markup_fmt
The text was updated successfully, but these errors were encountered: