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

Format html #2006

Merged
merged 2 commits into from
Nov 7, 2018
Merged

Format html #2006

merged 2 commits into from
Nov 7, 2018

Conversation

balloob
Copy link
Member

@balloob balloob commented Nov 7, 2018

Good morning!

Prettier has released an update that includes HTML formatting. This captures the last piece of unformatted code in our code base.

https://prettier.io/blog/2018/11/07/1.15.0.html

Here is an example of changes:

  • capture forgotting quotes around attributes
  • prefix decimal values with 0
  • put tags and attrs on 1 line if it's not too long

image

@ghost ghost assigned balloob Nov 7, 2018
@ghost ghost added the in progress label Nov 7, 2018
@balloob balloob merged commit a58a324 into dev Nov 7, 2018
@ghost ghost removed the in progress label Nov 7, 2018
@balloob balloob deleted the format-html branch November 7, 2018 08:56
@iantrich
Copy link
Member

iantrich commented Nov 7, 2018

Excellent!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants