XO
Reasonable, with limits. 11th of 13 linters and formatters.
XO is an opinionated, zero-config wrapper around ESLint. It bundles strict rules (unicorn, import-x, n, typescript-eslint) and lints JS, TS, CSS, Markdown, HTML and JSON out of the box. It is actively maintained, but it shipped four breaking major versions in 2026, and its downloads fell 41% in a year while the median project grew about fourfold. That makes it a reasonable but shrinking choice next to plain ESLint, Biome or Oxlint.
Best for: Developers who want strict, ready-made ESLint rules with no config, and who accept XO's style and frequent major upgrades.
Scores
Overall5.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.0, likely 3.5 to 6.0
XO is a well-kept, strict ESLint preset that saves config work. But a self-managed ESLint config, Biome or Oxlint now serves most new projects better, and they are faster or more flexible. Fast-falling share and frequent breaking majors pull it down. It ranks above stale JavaScript Standard Style, but well below ESLint, Biome and Oxlint.
- npm downloads trend: Down 41% while peers grow several times over
- github.com/xojs/xo/releases: Active, but with four breaking majors in 2026
- peers: ESLint, Biome and Oxlint have far more momentum
GPT-6.2 Sol: 6.3, likely 5.2 to 7.4
XO is a reasonable choice for a new ESM project that wants strict, type-aware ESLint rules on day one. Direct ESLint with typescript-eslint is the stronger general choice for teams that expect to tune their rules, while Oxlint has a stronger case for fast feedback. XO's recent fixes count in its favor, but breaking upgrades and declining reach weaken the recommendation. How closely a team wants XO's defaults and how often it runs full lint checks determine where it lands in the range.
- raw.githubusercontent.com/xojs/xo/v5.0.1/readme.md: Documents low-setup linting and access to the same rules through ESLint.
- eslint.org/docs/latest/use/configure/configuration-files: Documents direct control over plugins, configuration, and file scope.
- developers.prtimes.com/2026/05/12/migrate-from-xo-to-oxlint: Real-world comparison shows convenience, speed, and rule coverage trade-offs.
- github.com/xojs/xo/releases: Recent bug fixes alongside breaking configuration changes.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: XO lost ground against the baseline and faster-growing peers.
Needed by many6.1
How many developers need a tool for this job?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Nearly every JS/TS project needs a linter. XO serves only the subset that wants an opinionated, preset ESLint bundle, rather than its own ESLint config or a Rust tool. It does not format by itself; it relies on ESLint style rules or optional Prettier.
- raw.githubusercontent.com/xojs/xo/main/readme.md: Opinionated ESLint wrapper with zero-config defaults and multi-language linting
- category.job: Linting is needed by most projects; XO's take is narrower
GPT-6.2 Sol: 6.6, likely 5.5 to 7.7
Linting and formatting are common needs across JavaScript and TypeScript projects. XO works across frameworks and also checks JSON, CSS, HTML, and Markdown, but its ESM requirement and strict defaults narrow the fit. The survey shows broad demand for the job, while the share of developers who want XO's defaults is less clear.
- 2025.stateofjs.com/en-US/other-tools: ESLint and Prettier each had over 9,000 survey mentions.
- raw.githubusercontent.com/xojs/xo/v5.0.1/readme.md: Documents the ESM requirement, supported files, and defaults.
Helps a lot6.7
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
XO gives ESLint's full rule power with strict, well-chosen defaults. It sets up type-aware TypeScript linting automatically, even without a tsconfig, and now covers CSS, Markdown, HTML and JSON. The limits: it is slow next to Rust linters, its style defaults are opinionated, and recent releases needed fix-up patches, such as JSON/CSS linting broken in v5.0.0 and --fix corrupting TS files in v3.0.0.
- github.com/xojs/xo/releases: v3 to v5 add CSS/HTML/Markdown/package.json linting; patch releases fix regressions
- raw.githubusercontent.com/xojs/xo/main/readme.md: Automatic TS project handling, Prettier option, editor adapter
- tech-insider.org/eslint-vs-biome-vs-oxlint-2026: ESLint-based tools are far slower than Biome and Oxlint
GPT-6.2 Sol: 7.4, likely 6.3 to 8.5
XO 5.0.1 bundles type-aware rules, typed configuration, automatic fixes, and clear diagnostics. Its documented one-command workflow gives coding agents a straightforward way to check their changes. PR TIMES cut lint time from 115 to 32 seconds by moving to Oxlint with a slightly different ruleset. That test used an earlier XO version, so the current speed gap remains uncertain.
- raw.githubusercontent.com/xojs/xo/v5.0.1/readme.md: Documents automatic TypeScript setup, config types, diagnostics, and fixes.
- github.com/xojs/xo/releases/tag/v5.0.1: Fixed JSON and CSS linting in the current stable release.
- developers.prtimes.com/2026/05/12/migrate-from-xo-to-oxlint: Firsthand CI timings and rule coverage trade-offs.
Holds up over time5.4
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
The project is active: 64 commits, 9 releases in the last year, and an almost empty issue queue. But four breaking majors in about six months is heavy churn for users. Work rests on a small, mainly sponsor-funded maintainer group. The wider ecosystem is moving towards Biome and Oxlint rather than ESLint preset wrappers.
- github commitsLastYear / releasesLastYear: 64 commits, 9 releases in the last year
- github openIssues / closedIssues: 2 open vs 554 closed
- github.com/xojs/xo/releases: v2 (Mar), v3 (Jun), v4 (Jul), v5 (Sep) majors with breaking changes
- Sindre Sorhus maintainership: Maintained mainly by Sindre Sorhus with a few co-maintainers, funded by sponsorships
GPT-6.2 Sol: 5.7, likely 4.5 to 6.9
XO shipped nine releases and made 64 commits over the past year, with its latest push and release in September. A Windows TypeScript issue was fixed in three days, while a Turborepo configuration report has stayed open since 2023. One listed npm maintainer, several major releases with breaking changes, and falling adoption make the two-year outlook less certain.
- github commitsLastYear, releasesLastYear, pushedAt, latestRelease: 64 commits and nine releases, with a two-month lull by the snapshot.
- github.com/xojs/xo/releases: Recent upgrades changed Node requirements, React support, and formatting options.
- github.com/xojs/xo/issues/896: Windows TypeScript issue closed three days after filing.
- github.com/xojs/xo/issues/733: A Turborepo configuration report remains open from 2023.
- npmjs.com/package/xo?activeTab=dependencies: npm lists one collaborator and links to sponsorship.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Usage signal fell well below the catalog baseline.
Used widely4.9
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Downloads fell from 1.06M to 626k per 4 weeks, a ratio of 0.59 against a median of 4.1, so XO is losing share sharply. 110k dependent repos is a sizeable base, but much of it is older code and Sindre Sorhus's own package ecosystem. There is almost no current social attention: one Bluesky post and no Hacker News stories.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 626k vs 1.06M a year ago; well below the 4.1 median ratio
- dependents: 110,652 repos, 12,156 packages
- bluesky posts: 1 post vs 84 to 98 for Biome and Oxc
GPT-6.2 Sol: 5.7, likely 4.7 to 6.9
The index found about 111,000 dependent repositories and 12,000 dependent packages, which points to substantial existing use. Downloads fell 41% to 626,000 over four weeks, giving a 0.59× ratio against the 4.1× catalog median. ESLint has a much larger indexed footprint, while Biome and Oxlint show stronger download growth and discussion. Repeat installs and uneven repository coverage leave the rate of new adoption uncertain.
- dependents repos, packages: 110,652 indexed repositories and 12,156 indexed npm packages.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 626,131 versus 1,063,502 downloads, against a 4.1× median ratio.
- github stars, bluesky posts, peers: About 8,000 stars and one Bluesky post, with stronger momentum among several peers.
Vouched for4.4
Who stands behind it being good?
Claude Opus 5.5: 3.5, likely 2.0 to 5.0
XO is used across Sindre Sorhus's many packages and some projects such as AVA, and it gets occasional praise from users. No current independent comparison or developer survey features it; 2026 linter comparisons cover ESLint, Biome and Oxlint. It has no well-known corporate backer.
- bluesky top post: A single user post praising zero-config setup
- botmonster.com/web-dev/biome-vs-oxlint-vs-eslint-javascript-linter-comparison: Current comparisons do not mention XO
- bestofjs.org/projects/xo: Listed, but with modest attention
GPT-6.2 Sol: 5.2, likely 3.9 to 6.5
AVA lists XO 5.0.1 as a development dependency, and HowTelevision documented adopting XO for an existing frontend. PR TIMES credited XO with improving consistency before moving to Oxlint for faster feedback. The range reflects limited current evidence from independent teams and the lack of an XO-specific satisfaction measure in the survey reviewed.
- raw.githubusercontent.com/avajs/ava/main/package.json: AVA declares XO 5.0.1 as a development dependency.
- blog.howtelevision.co.jp/entry/2023/12/02/153945: Older firsthand account of adopting XO for a production codebase.
- developers.prtimes.com/2026/05/12/migrate-from-xo-to-oxlint: Reports improved consistency before a speed-driven migration.
- 2025.stateofjs.com/en-US/other-tools: Provides category context with no separate XO satisfaction result.
Safe5.8
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
XO has no advisories ever and an MIT licence. It is a dev-only tool, but its 19 direct dependencies pull in a large ESLint plugin tree. The OpenSSF Scorecard is weak at 3.7, with no code review, unpinned dependencies, broad token permissions and no security policy. Publishing rests on a few maintainers.
- advisories total: 0 advisories
- scorecard score: 3.7; Code-Review 0, Pinned-Dependencies 0, Security-Policy 0
- npm dependencies: 19 direct dependencies, many ESLint plugins
GPT-6.2 Sol: 5.6, likely 4.4 to 6.9
XO uses the permissive MIT license and has no recorded OSV advisories for the package itself. Its 19 direct dependencies and single listed npm collaborator increase supply-chain exposure. The manifest defines an `np` release command, and the 3.7 OpenSSF Scorecard flags weak branch protection, dependency pinning, workflow token permissions, and code review. The advisory record gives little evidence about how the project would handle a security incident.
- advisories total, last24Months: Zero XO advisories in the OSV snapshot.
- scorecard score, checks: 3.7 overall, with several weak repository controls.
- raw.githubusercontent.com/xojs/xo/v5.0.1/package.json: MIT license, 19 direct dependencies, and an np release command.
- npmjs.com/package/xo?activeTab=dependencies: One npm collaborator is listed.
Good
- It works with no config and enforces a strict rule set, including unicorn and type-aware TypeScript rules.
- It lints JS, TS, CSS, Markdown, HTML, JSON and package.json without extra setup.
- It is built on ESLint flat config, so any ESLint plugin can be added, and xo/eslint-adapter lets editors show the same errors as the CLI.
- Issues are handled quickly: only 2 issues are open against 554 closed.
Bad
- It shipped four breaking majors in 2026 (v2 to v5): removed CommonJS config, dropped built-in React support and raised Node to 22.
- It runs at ESLint speed with type-aware rules, so it is much slower than Biome or Oxlint on large codebases.
- Its defaults (tabs, strict unicorn rules) are opinionated, and many teams end up overriding them.
- Its use is falling fast, and it depends on a small maintainer group centred on Sindre Sorhus.
The numbers
- npm downloads, 4 weeks
- 626k −41% in a year
- GitHub stars
- 8k
- Commits, 12 months
- 64
- npm version
- 5.0.1 Sept 2026
- Versions, 12 months
- 9
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 3.7 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (xojs/xo), npm (xo), OSV and the OpenSSF Scorecard.
Linters and formatters
- 8.4Prettier
- 8.3ESLint
- 8.3Oxlint
- 8.2Stylelint
- 8.2typescript-eslint
- 8.0Biome
- 7.6Knip
- 7.5Oxfmt
- 6.5dprint
- 6.4bun fmt
- 5.7XO
- 5.4bun lint
- 3.2JavaScript Standard Style