Repository navigation
feat: biome formatting support - #2346
Conversation
✅ Deploy Preview for changesets ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🦋 Changeset detectedLatest commit: b5fa96d The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2346 +/- ##
==========================================
- Coverage 87.48% 87.47% -0.01%
==========================================
Files 78 78
Lines 2973 2971 -2
Branches 851 853 +2
==========================================
- Hits 2601 2599 -2
Misses 337 337
Partials 35 35 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
bluwy
left a comment
There was a problem hiding this comment.
The defaultDetectOrder.filter((f) => f !== "biome") in the codebase should also be removed.
| @@ -1,5 +1,5 @@ | |||
| > [!WARNING] | |||
| > This documentation is outdated. View the up-to-date version at https://changesets.dev/guide/config | |||
| > This documentation is outdated. View the up-to-date version at <https://changesets.dev/guide/config> | |||
There was a problem hiding this comment.
Was this change formatted with Biome? We don't have Biome setup locally and this should be fine without angle brackets, so should undo this part.
Alternatively the file here is meant to be outdated so it's fine to not make changes to this file too.
There was a problem hiding this comment.
No, this was manually, in markdown it's common to put these brackets around links to make them more visible. And some formatters don't make the link clickable without. Will remove it
|
Due to a github outage is my new commit not visible here :( |
dc4434e to
6b00351
Compare
| cwd, | ||
| // Biome doesn't support formatting markdown files | ||
| order: defaultDetectOrder.filter((f) => f !== "biome"), | ||
| order: [...defaultDetectOrder], |
There was a problem hiding this comment.
This should be removed directly since it's the default value of order
There was a problem hiding this comment.
Gives a type error, defaultDetectOrder is readonly
There was a problem hiding this comment.
I mean just do detectFormatter({ cwd }). There's no need to pass order here. That should work right?
8ab463f to
5d98eb1
Compare
5d98eb1 to
02172f0
Compare
Biome has added support for markdown formatting with version 2.6