Skip to content
New issue

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

Fix prettier #20

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix prettier #20

wants to merge 3 commits into from

Conversation

Rayn322
Copy link

@Rayn322 Rayn322 commented Aug 30, 2023

No description provided.

@vercel
Copy link

vercel bot commented Aug 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
t3-astro ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 31, 2023 3:54am

Copy link

@nickserv nickserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be broken, specifically:

  1. Formatting a file with the VSCode extension errors
  2. Formatting with the CLI (pnpm format) causes HTML indentation to break in some cases and reorders Tailwind classes (I suspect the extension may be broken, but I don't use Tailwind)

@Rayn322
Copy link
Author

Rayn322 commented Aug 31, 2023

Works for me both in editor and with pnpm format. Although I went and removed the --plugin-search-dir flag because I missed it first time around.

@Rayn322
Copy link
Author

Rayn322 commented Aug 31, 2023

Oh I think I see what you're talking about with the indentation. It's doing weird stuff with some of the style tags that I don't really understand. Might be a prettier or prettier-plugin-astro issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants