feat(markdown): port snapshots from prettier#9067
Conversation
|
|
Ah, now it gets fun... we have a workflow that lints markdown files. It was mostly meant to target changesets. Now that we're about to add a lot of stuff, maybe we should update the workflow, and make sure we lint only files inside Hopefully we will remove it soon-ish using our infrastructure |
Merging this PR will not alter performance
Comparing Footnotes
|
529597c to
6e136ff
Compare
678c603 to
c869c90
Compare
4150a51 to
46aae4b
Compare
|
@ematipico I fixed the markdown linter on CI. The PR is ready for review. This PR doesn't do anything beside adding the |
|
@jfmcdowell do you mind holding on #9070 until I merged this PR and tidefield#5 which implement the prettier tests? It has some overlap with your PR. |
Summary
This PR continues the work discussed in #3718. It adds the snapshots from prettier by calling into the script
crates/biome_formatter_test/src/prettier/prepare_tests.js.Initially, I implemented
prettier_tests.rsto generate*.md.snapin this PR. However, it became hard to review on Github because it has more than 1000 files changed and Github only shows 1000 files.So I scoped the rust part into a separate branch. tidefield#5 has the
prettier_tests.rsimplementation along with*.md.snapgenerated by the tests.Test Plan
Testing will be done after this PR is merged so I can rebase tidefield#5 to make a biome PR.