Skip to content

Sets prettier + vscode config for consistent on-save formatting#54

Open
LlGC-jop wants to merge 1 commit into
UniversalViewer:astro2026from
LlGC-jop:vscode-astro-prettier
Open

Sets prettier + vscode config for consistent on-save formatting#54
LlGC-jop wants to merge 1 commit into
UniversalViewer:astro2026from
LlGC-jop:vscode-astro-prettier

Conversation

@LlGC-jop

@LlGC-jop LlGC-jop commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Some of my commits have had a bunch of irrelevant changes because prettier wasn't running correctly, and questions about consistency have been raised in #39

This updates prettier and vscode settings to use it as the default formatter for astro files.

I've tested this against existing pages that others have worked on recently, and prettier seemed to make the fewest (and least extreme) changes compared to the astro default formatter which mine was falling back on.

I'm not sure which editor everyone else is using however, so if everyone could check out this PR or switch your local config to see if/how it changes things then we can discuss whether to merge or use other settings. Thanks

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

@LlGC-jop is attempting to deploy a commit to the Universal Viewer Team on Vercel.

A member of the Team first needs to authorize it.

@Saira-A

Saira-A commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

I had the same issue; this looks much better to me

@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
universalviewer-github-io Ready Ready Preview, Comment Jul 4, 2026 3:17pm

Request Review

@demiankatz demiankatz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No objections from my side -- but I'll let @jamesmisson decide whether to merge (since he's the last pending review request).

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.

3 participants