# Linters and formatters

Find mistakes in code and keep its style the same. Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [Prettier](https://elestia.ai/opensource/linters-formatters/prettier/index.md) | 8.4 | 8.8 | 8.1 | 8.3 | 8.9 | 8.6 | 8.1 | Teams that want one stable, widely supported formatter across many file types, with plugins and editor support everywhere. |
| 2 | [ESLint](https://elestia.ai/opensource/linters-formatters/eslint/index.md) | 8.3 | 8.8 | 8.3 | 8.3 | 8.8 | 9.0 | 7.1 | Teams that need the widest set of rules and plugins, custom rules, or type-aware TypeScript linting through typescript-eslint. |
| 3 | [Oxlint](https://elestia.ai/opensource/linters-formatters/oxlint/index.md) | 8.3 | 8.0 | 8.2 | 8.6 | 6.7 | 7.6 | 8.2 | JS and TypeScript teams who want ESLint-compatible rules, type-aware checks included, at a fraction of the run time, especially on large codebases and in Vite projects. |
| 4 | [Stylelint](https://elestia.ai/opensource/linters-formatters/stylelint/index.md) | 8.2 | 5.3 | 8.4 | 8.1 | 6.8 | 8.1 | 7.9 | Web projects that write plain CSS, SCSS or CSS modules and want thorough checks for errors and conventions. |
| 5 | [typescript-eslint](https://elestia.ai/opensource/linters-formatters/typescript-eslint/index.md) | 8.2 | 7.1 | 8.3 | 8.1 | 8.8 | 8.3 | 7.9 | TypeScript teams on ESLint that want the fullest set of type-aware rules and the plugin ecosystem that comes with ESLint. |
| 6 | [Biome](https://elestia.ai/opensource/linters-formatters/biome/index.md) | 8.0 | 8.6 | 7.9 | 8.3 | 6.9 | 7.6 | 8.4 | Teams starting a new web project who want one fast tool and one config file for formatting, linting and import sorting, and who don't need custom ESLint plugins. |
| 7 | [Knip](https://elestia.ai/opensource/linters-formatters/knip/index.md) | 7.6 | 5.3 | 8.4 | 7.6 | 5.8 | 7.8 | 7.2 | Teams with medium or large TypeScript codebases or monorepos that want CI to catch dead code and unused or unlisted dependencies. |
| 8 | [Oxfmt](https://elestia.ai/opensource/linters-formatters/oxfmt/index.md) | 7.5 | 8.3 | 7.7 | 7.8 | 6.7 | 6.9 | 8.2 | Teams on Prettier-style formatting, or on Vite+, who want much faster formatting and can live without Prettier plugins. |
| 9 | [dprint](https://elestia.ai/opensource/linters-formatters/dprint/index.md) | 6.5 | 6.6 | 7.3 | 6.9 | 4.2 | 6.7 | 7.4 | Large repos or monorepos that want one very fast, highly configurable formatter across many languages, and that use a separate linter. |
| 10 | [bun fmt](https://elestia.ai/opensource/linters-formatters/bun-fmt/index.md) | 6.4 | 6.6 | 7.2 | 7.0 | 3.2 | 3.6 | 7.0 | Teams that already use Bun and want a much faster drop-in for Prettier without plugin-heavy configs. |
| 11 | [XO](https://elestia.ai/opensource/linters-formatters/xo/index.md) | 5.7 | 6.1 | 6.7 | 5.4 | 4.9 | 4.4 | 5.8 | Developers who want strict, ready-made ESLint rules with no config, and who accept XO's style and frequent major upgrades. |
| 12 | [bun lint](https://elestia.ai/opensource/linters-formatters/bun-lint/index.md) | 5.4 | 4.9 | 6.7 | 6.2 | 2.0 | 3.0 | 6.3 | 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. |
| 13 | [JavaScript Standard Style](https://elestia.ai/opensource/linters-formatters/standard/index.md) | 3.2 | 5.9 | 4.6 | 2.0 | 5.2 | 4.0 | 4.8 | Existing codebases that already run it and cannot migrate yet. New projects should pick neostandard, ESLint or Biome. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| Prettier | 739M | ×3.1 | 52k | 1.5k | Nov 2026 | 0 |
| ESLint | 827M | ×3.1 | 28k | 624 | Nov 2026 | 0 |
| Oxlint | 185M | ×79 | 24k | 9.1k | Nov 2026 | 0 |
| Stylelint | 56M | ×2.2 | 12k | 616 | Nov 2026 | 0 |
| typescript-eslint | 732M | ×3.1 | 16k | 731 | Nov 2026 | 0 |
| Biome | 108M | ×7.7 | 26k | 2.9k | Nov 2026 | 0 |
| Knip | 120M | ×7.4 | 13k | 1.8k | Nov 2026 | 0 |
| Oxfmt | 116M | ×2423 | 24k | 9.1k | Nov 2026 | 0 |
| dprint | 1.9M | ×4.2 | 4.1k | 361 | Nov 2026 | 0 |
| bun fmt | 24M | ×11 | 97k | 4.7k | Nov 2026 | 2 |
| XO | 626k | −41% | 8k | 64 | Sept 2026 | 0 |
| bun lint | 24M | ×11 | 97k | 4.7k | Nov 2026 | 2 |
| JavaScript Standard Style | 2M | −19% | 29k | 0 | Sept 2024 | 0 |

All categories: https://elestia.ai/opensource/index.md
