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

Make prettier handle closing tags better #276

Merged
merged 1 commit into from
Jul 14, 2023
Merged

Conversation

dabreegster
Copy link
Contributor

The code is much easier to read this way, personally.

See https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting. This can theoretically affect display. I'm combing through the changes in code / on-screen and don't spot any differences, so I think we're fine and this is worth it.

@@ -58,9 +58,13 @@
<CollapsibleCard label="Help">
<ul>
<li>
<b>Click</b> on the map to open a new tab with a 3rd-party imagery provider
<b>Click</b>
on the map to open a new tab with a 3rd-party imagery provider
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, this is a little worse IMO, but worth the improvement for buttons

Copy link
Contributor

@Pete-Y-CS Pete-Y-CS left a comment

Choose a reason for hiding this comment

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

A lot of stuff looking a lot better, v nice

@dabreegster dabreegster merged commit f44a5bd into main Jul 14, 2023
2 checks passed
@dabreegster dabreegster deleted the prettier_closing_tag branch July 14, 2023 16:25
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