Skip to content

feat: biome formatting support - #2346

Merged
Andarist merged 4 commits into
changesets:mainfrom
Netail:feat/biome-support
Oct 26, 2026
Merged

Andarist merged 4 commits into
changesets:mainfrom
Netail:feat/biome-support

Conversation

@Netail

@Netail Netail commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Biome has added support for markdown formatting with version 2.6

@netlify

netlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for changesets ready!

Name Link
🔨 Latest commit b5fa96d
🔍 Latest deploy log https://app.netlify.com/projects/changesets/deploys/6adbca0a22b596f7d0a3ccea
😎 Deploy Preview https://deploy-preview-2346--changesets.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot

changeset-bot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b5fa96d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@changesets/cli Minor
@changesets/config Minor
@changesets/types Minor
@changesets/write Minor
@changesets/apply-release-plan Patch
@changesets/assemble-release-plan Patch
@changesets/get-release-plan Patch
@changesets/changelog-git Patch
@changesets/changelog-github Patch
@changesets/get-dependents-graph Patch
@changesets/git Patch
@changesets/parse Patch
@changesets/pre Patch
@changesets/read Patch
@changesets/release-utils Patch
@changesets/should-skip-package Patch

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

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.47%. Comparing base (e2ee472) to head (b5fa96d).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Andarist
Andarist requested a review from bluwy October 21, 2026 13:55

@bluwy bluwy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The defaultDetectOrder.filter((f) => f !== "biome") in the codebase should also be removed.

Comment thread docs/config-file-options.md Outdated
@@ -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>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

@Netail Netail Oct 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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

@Netail

Netail commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Due to a github outage is my new commit not visible here :(
https://github.com/Netail/changesets/tree/feat/biome-support

@Netail
Netail requested a review from bluwy October 21, 2026 18:39
@Netail
Netail force-pushed the feat/biome-support branch from dc4434e to 6b00351 Compare October 21, 2026 20:10
cwd,
// Biome doesn't support formatting markdown files
order: defaultDetectOrder.filter((f) => f !== "biome"),
order: [...defaultDetectOrder],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be removed directly since it's the default value of order

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Gives a type error, defaultDetectOrder is readonly

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this will resolve it: changesets/format#51

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I mean just do detectFormatter({ cwd }). There's no need to pass order here. That should work right?

@Netail
Netail requested review from Andarist and bluwy October 23, 2026 07:53
@Netail
Netail force-pushed the feat/biome-support branch from 8ab463f to 5d98eb1 Compare October 23, 2026 08:00
@Netail
Netail force-pushed the feat/biome-support branch from 5d98eb1 to 02172f0 Compare October 23, 2026 09:20
Comment thread .changeset/open-bottles-fry.md Resolved
Comment thread .changeset/open-bottles-fry.md Resolved
@Netail
Netail requested a review from Andarist October 23, 2026 23:35
@Andarist
Andarist added this pull request to the merge queue Oct 26, 2026
Merged via the queue into changesets:main with commit b09779a Oct 26, 2026
19 checks passed
@Netail
Netail deleted the feat/biome-support branch October 26, 2026 07:51
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.

3 participants