Best JavaScript linters and formatters
Tools that catch mistakes and keep code style consistent. eslint leads with about 205M real installs a week, followed by prettier with about 182M.
| package | real installs / week | npm / week | noise | last release | confidence |
|---|---|---|---|---|---|
| 1. eslintAn AST-based pattern checker for JavaScript. | 205M | 204,597,234 | under 1% | Oct 2026 | high |
| 2. prettierPrettier is an opinionated code formatter | 182M | 181,991,650 | under 1% | Oct 2026 | high |
| 3. oxlintLinter for the JavaScript Oxidation Compiler | 44.3M | 44,287,100 | under 1% | Nov 2026 | high |
| 4. @biomejs/biomeBiome is a toolchain for the web: formatter, linter and more | 25.9M | 25,882,663 | under 1% | Nov 2026 | high |
| 5. stylelintA mighty CSS linter that helps you avoid errors and enforce conventions. | 14.2M | 14,173,196 | under 1% | Nov 2026 | high |
| 6. standardJavaScript Standard Style | 520K–522K | 521,882 | under 1% | Sep 2024 | high |
| 7. dprintPluggable and configurable code formatting platform written in Rust. | 402K–403K | 402,843 | under 1% | Oct 2026 | high |
Ranked by real installs. That measures use, not quality: read the notes below before choosing. Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count. Noise: the share of npm's count that mirror spikes and crawlers account for. What remains still includes CI and dependency installs. Rows are refreshed in rotation, the oldest here on Nov 6, 2026.
How do they differ?
ESLint finds problems and has the largest set of plugins. Prettier only formats, so the two are often used together. Biome does both in one fast tool. Oxlint focuses on speed and can run alongside ESLint. Stylelint is for CSS.