Skip to content

Conversation

@cthoyt
Copy link
Collaborator

@cthoyt cthoyt commented Aug 26, 2022

This PR runs npx prettier --write . to reformat HTML and markdown in a principled, deterministic way. This will make it easier to make updates that have smaller diffs, such as #2042. It adds a note on how to do this in the README-sitedev.md

It also adds a .prettierignore file that lists some file types and directories to ignore.

This PR does not change how anything looks on the website. However, in 3 cases (see 5ec2d01) it fixes some invalid HTML.

@cthoyt cthoyt requested a review from matentzn August 26, 2022 07:30
@cthoyt cthoyt mentioned this pull request Aug 26, 2022
2 tasks
Copy link
Contributor

@matentzn matentzn left a comment

Choose a reason for hiding this comment

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

Man this is awesome, I was always wondering about markdown linters, and here is my answer. I checked every single file with an 87% rigour, and it looked great. I have two questions and they are not blockers on merging this, but I will wait for a moment for you to answer before merging.

@matentzn matentzn merged commit 334d2d6 into OBOFoundry:master Aug 26, 2022
@matentzn
Copy link
Contributor

Awesome!

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