Elestia Open Source Ratings
5.4

bun lint

Reasonable, with limits. 12th of 13 linters and formatters.

Not released yet. On 20 November 2026 only the canary builds of Bun have bun lint. No stable release of Bun has it.

bun lint is the linter built into the Bun runtime. It claims over 1,000 native rules, reads existing ESLint and oxlint configs, and can load ESLint plugins. It is not released yet: on 20 November 2026 it was only in Bun canary builds, it has no editor language server, and its speed claims have not been checked independently. For new work, use Oxlint or ESLint (or Biome) for now, and try bun lint on a pinned canary only if you already use Bun.

Best for: Teams that already use Bun, accept a pinned canary build, and want one fast built-in linter that reads their existing ESLint or oxlint config.

WebsiteGitHubnpm

Scores

Overall5.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

The design is promising: it is fast and native, and it can drop into ESLint and oxlint configs. But it is canary-only, it has no editor integration, and nobody outside the project has validated it. Oxlint and ESLint do the same job today with stable releases, language servers and wide use. It can go higher once it reaches a stable release with an LSP and independent benchmarks.

GPT-6.2 Sol: 6.2, likely 5.0 to 7.5

Bun lint is a reasonable choice for teams already on Bun canary that want fast, type-aware checks with little setup. Oxlint is the better default for new projects today because it offers stable type-aware linting, and ESLint remains the stronger choice for projects that rely on custom typed plugins. The range reflects promising results on real code and limited evidence about compatibility across projects and upgrades.

Needed by many4.9

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 7.0

Most JavaScript and TypeScript developers need a linter. But bun lint asks for the Bun binary and, today, a canary build. That limits it in practice to teams already on Bun or willing to add it. It lints any JS/TS code, which keeps it wider than a one-framework tool.

  • bun.com/docs/runtime/lint: Lints JS, TS and JSX, as part of the Bun binary
  • npm downloadsLast4Weeks: 24M downloads for all of Bun, against 827M for ESLint

GPT-6.2 Sol: 4.8, likely 3.6 to 6.1

Linting is routine across JavaScript and TypeScript projects, and Bun lint also handles JSX. It can check projects that deploy on Node, though every developer and CI runner using it needs a Bun canary binary. About one in five State of JavaScript 2025 runtime respondents reported regular Bun use, which gives a rough sense of the audience for a Bun-based workflow.

Helps a lot6.7

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 4.0 to 8.0

On paper the feature set is strong: more than 1,000 rules, ESLint plugin loading, type-aware rules, tiered autofix, and reading of existing configs. But there is no language server, there are no jsdoc or vue rules, and the speed and test-parity numbers come only from the announcement. Few users have reported on it, so the range is wide.

GPT-6.2 Sol: 7.3, likely 6.0 to 8.5

The canary has a broad rule set, built-in type-aware checks, autofix and clear rule help. OpenClaw got matching diagnostics against Oxlint on a pinned October canary and measured a large speed gain on AWS, while its Mac test gave mixed timing results. Custom typed rules and suppression behavior still have gaps, including a multiline suppression mismatch reported on a November canary. The CLI and JSON reports are useful for agents, though independent tests cover a limited set of configurations and do not measure agent accuracy.

Holds up over time6.2

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 4.0 to 8.0

Bun is very active, with 4,719 commits and 18 releases in the last year, and is funded since Anthropic acquired it. The linter itself has no stable release, and release gating flipped back and forth around v1.4.4. It also arrives in the middle of a fast Zig-to-Rust port that brought regressions. The gap between Bun the runtime and the brand-new linter keeps the range wide.

GPT-6.2 Sol: 6.4, likely 4.9 to 7.9

Anthropic backs Bun, and the parent project shipped 18 releases in the past year. The linter gets active attention, including a same-day response and proposed fix for a November rule bug. Bun merged a change to enable lint in release builds on main, while the 1.4.5 tag still gates the command to canaries, leaving stable rollout and upgrade behavior uncertain.

Used widely2.0

How many use it, and is that growing?

Claude Opus 5.5: 1.5, likely 0.5 to 3.0

The download and star counts are for all of Bun. Bun's growth (10.8x a year, against a 4.1x median) says little about the linter. Use of the linter itself is a handful of repositories that pin a canary to swap out Biome, ESLint or oxlint. That is far below Oxlint or Biome.

GPT-6.2 Sol: 2.4, likely 0.9 to 4.1

Bun’s four-week npm downloads grew 10.8-fold year over year, above the catalog median of 4.1-fold. Its downloads, stars and dependent counts all cover the full toolkit, and the leading Bluesky posts concern Bun’s broader development. OpenClaw and a shared lint preset show direct canary use, while ESLint has much stronger project-level adoption evidence. The number of teams choosing Bun lint and how fast that number is growing are both hard to estimate.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Bun rose from 2.23 million to 24.07 million downloads across the two windows.
  • github stars, dependents, bluesky top, peers: Bun signals cover the toolkit, while ESLint has about 1.57 million indexed dependent repositories.
  • docs.openclaw.ai/reference/test/local: OpenClaw defaults to a pinned Bun fork for local linting when available and gates CI on Oxlint.
  • github.com/keann/lint-config: An independent shared preset tests and supports Bun canary.
Vouched for3.0

Who stands behind it being good?

Claude Opus 5.5: 1.5, likely 0.5 to 3.0

There are no independent benchmarks, survey data or well-known production users for the linter. The only evidence is the project's own announcement numbers and a few small repositories that tried it. The Bluesky attention is about the Rust rewrite, not the linter.

GPT-6.2 Sol: 4.5, likely 3.0 to 6.0

OpenClaw uses a pinned Bun fork for local linting and checks diagnostic parity in CI, where Oxlint remains the required check. Ultracite has tested a draft integration, and eXeLearning is waiting for a stable release before evaluating a switch. These are credible early trials, with little evidence yet of sustained use as a team's primary linter.

Safe6.3

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 4.0 to 7.5

The npm package is MIT-licensed and has no dependencies. Bun's two advisories, one high and one moderate, were fixed. But there is no Scorecard, and the linter means running a large canary binary in CI that is being heavily rewritten. ESLint plugins it loads run as JavaScript with full access.

  • advisories: Two advisories in 24 months, an OS command injection and a prototype pollution
  • scorecard: No OpenSSF Scorecard data
  • npm license / dependencies: MIT, no dependencies
  • github.com/oven-sh/bun/pull/46438: Review flagged a possible endless process chain when the lint script calls bun lint

GPT-6.2 Sol: 6.5, likely 4.9 to 7.9

Bun’s own code is MIT-licensed and the default linter needs no extra npm packages, though the binary includes native libraries such as LGPL-licensed JavaScriptCore. The older prototype-pollution advisory was patched, the command-injection advisory was withdrawn, and Bun 1.4.5 shipped fixes for several runtime components. Bun publishes canaries automatically, and a user reported a mismatch between a canary package’s version and its binary revision. The missing OpenSSF score and limited evidence on publishing access widen the range.

Good

  • Works with no install or config, and reads existing eslint.config.*, .eslintrc and .oxlintrc.json files directly.
  • Has a large set of native rules: the ESLint and typescript-eslint recommended sets, React hooks, and oxlint's ports of plugins such as unicorn and jsx-a11y.
  • Has type-aware rules built on Bun's own type checker, so it does not need tsc or typescript-eslint's parser.
  • Its CI features are practical: --staged and --changed, GitHub Actions annotations, and a --doctor report that shows which ESLint packages you can remove.

Bad

  • Only canary builds have it, and it was gated in and out of releases around v1.4.4, so teams must pin a canary binary.
  • It has no language server (--lsp is an error), so it gives no lint feedback in the editor the way ESLint, Oxlint or Biome do.
  • There are no jsdoc or vue rules, and plugins outside the built-in set run more slowly, in JavaScript.
  • It needs the Bun binary, and it arrives while Bun's core is being ported from Zig to Rust, which brought regressions.

The numbers

npm downloads, 4 weeks
24M ×11 in a year
GitHub stars
97k
Commits, 12 months
4.7k
npm version
1.4.5 Nov 2026
Versions, 12 months
18
Advisories, 24 months
2 of 2 ever
OpenSSF Scorecard
None
Licence
MIT

The linter built into Bun. The repository, its stars and activity, and the downloads are of all of Bun, not of the linter.

Read on 21 November 2026 from GitHub (oven-sh/bun), npm (bun), OSV and the OpenSSF Scorecard.

Linters and formatters

  1. 8.4Prettier
  2. 8.3ESLint
  3. 8.3Oxlint
  4. 8.2Stylelint
  5. 8.2typescript-eslint
  6. 8.0Biome
  7. 7.6Knip
  8. 7.5Oxfmt
  9. 6.5dprint
  10. 6.4bun fmt
  11. 5.7XO
  12. 5.4bun lint
  13. 3.2JavaScript Standard Style
Compare all 13 on six scores