Today's Trends
minorInvestigatingBunv1.4.4

Bun 1.4.4 bun fmt --doctor Incorrectly Flags Required Prettier Plugins

  1. Investigating(current)
  2. Trending(upcoming)
  3. Workaround available(upcoming)
  4. Resolved(upcoming)

Executive summary

In Bun v1.4.4, running `bun fmt --doctor` incorrectly instructs users to remove a Prettier plugin that is still required and loaded by a script in `.prettierrc`. Developers using Bun's formatting diagnostics alongside custom Prettier configurations are affected.

No verified workaround yet

None of the linked reports describe a mitigation. Follow this incident to hear when one appears.

Official fix
Technical root cause

Under active investigation. No report has identified a root cause yet.

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    `bun fmt --doctor` says to remove a Prettier plugin that a still-needed `prettier` script loads from `.prettierrc`(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.4 (38afee6c8) What platform is your computer? Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 (WSL2) What steps can reproduce the bug? Self-contained script. Paste it into a shell in an empty directory: mkdir bun-fmt-doctor-repro && cd bun-fmt-doctor-repro cat > package.json <<'JSON' { "name": "repro", "private": true, "scripts": { "format:html": "prettier --write \"layouts/**/*.html\"" }, "devDependencies": { "prettier": "^3.9.6",…

    by markgoho 0upvotes 0comments

Timeline

  1. First report on GitHub issue

    `bun fmt --doctor` says to remove a Prettier plugin that a still-needed `prettier` script loads from `.prettierrc`

    Source