Follow us
Breaking
Tech News

Biome replaces the ESLint and Prettier stack

Rust-based tools like Biome and Oxlint offer massive performance gains over traditional JavaScript tooling. Biome's formatter is 25 times faster than Prettier, while Oxlint performs 50 to 100 times faster than ESLint in real-world scenarios.

Share

The move to Rust-based tools like Biome, Oxlint, and Oxfmt targets the performance bottlenecks in the JavaScript ecosystem. Developers use these tools to avoid the configuration overhead and slow execution times of the ESLint and Prettier duo. Biome provides both a linter and a formatter in a single package, which removes the need to manage conflicting rules between tools. In 2025, Biome offered 354 rules that covered many existing ESLint and TypeScript ESLint rules. My own testing shows the Biome formatter is 25 times faster than Prettier, while the linter is 15 times faster than ESLint. VoidZero recently introduced Oxfmt, an alpha version of a Rust-based formatter that is 30 times faster than Prettier and 3 times faster than Biome. VoidZero designed Oxfmt as a drop-in replacement that maintains over 95% compatibility with Prettier output. Oxlint, part of the same Oxc toolchain, performs 50 to 100 times faster than ESLint in real-world scenarios. In Airbnb’s testing, Oxlint ran multi-file rules over a repository of 126,000 files in just 7 seconds, a task that caused ESLint to time out. For teams wanting to transition, Oxlint provides migration tools like oxlint-migrate and the eslint-plugin-oxlint. The latter allows you to run both linters side-by-side by turning off any ESLint rules that Oxlint already supports.

New features in Biome v2.5

The Biome v2.5 release brings the toolset beyond 500 rules, which includes several new features for developers. I found that the new noUndeclaredClasses and noUnusedClasses rules use the module graph to analyze all CSS classes defined in your project and emit a diagnostic if a class is not used in any HTML-ish or JSX files. The tool also supports a –watch mode for the CLI, providing real-time diagnostics as you edit files. This release also adds the ability to specify paths for GritQL plugins using the includes setting, which accepts globs to whitelist or denylist paths. You can use the "tailwindDirectives" setting in your biome.json to prevent errors when using @apply or @tailwind in CSS. Biome also includes a "go-to-definition" feature in its language server for variables, types, and CSS classes.

The Biome configuration allows for specific adjustments to improve the developer experience. Using "trailingCommas": "all" helps keep Git diffs clean by ensuring that adding a new line to an object only shows one changed line. For those working with Tailwind CSS, the "tailwindDirectives" setting prevents the parser from throwing errors on directives like @layer or @tailwind. The Biome v2.5 update also enables the use of the new linter.rules.preset option, which allows you to enable all rules except for nursery rules. If you are using a coding agent, the new concise reporter in the CLI helps save tokens by printing shorter diagnostic messages. The tool also allows you to resolve dependencies from pnpm catalogs when the javascript.resolver.experimentalPnpmCatalogs option is enabled. Biome’s lint and check commands are roughly 13% faster in this version. The language server can also resolve variables and types, as well as CSS classes in Vue and Svelte environments. This release also promoted 73 rules from the nursery to stable groups, including several rules for the Vue framework. Plugins can now declare a code fix using the => symbol, where you can specify the new code for the fix. Users can choose between "safe" and "unsafe" fix kinds, where "safe" fixes apply when using the –write flag.

The Rust competition

Tool Formatter Speed vs Prettier Linter Speed vs ESLint
Biome 25x faster 15x faster
Oxfmt 30x faster N/A
Oxlint N/A 50-100x faster

I find that for most new projects, Biome is the logical choice because it consolidates everything into one file. You should avoid Biome if your project relies on highly specific, non-standard ESLint plugins that the Biome team has not yet ported over. If you prefer the familiarity of Prettier, Oxfmt offers a way to get massive speed gains without changing your existing .prettierrc configuration. VoidZero designed Oxfmt to be a drop-in replacement with minimal differences in formatting output. Developers can rename their existing .prettierrc to start using Oxfmt immediately. VitePlus also utilizes Oxlint and Oxfmt to manage the development lifecycle through a single tool. This tool allows you to run all static analysis in a single pass, which is roughly 2 to 3 times faster than running them individually. It also detects your package manager and updates your package.json scripts through a migrate command. The VitePlus tool provides a way to execute binaries without a local installation through its integration. Does the industry eventually abandon the massive plugin ecosystem of ESLint for the speed of these Rust-based alternatives?

Share

Technewsdaily

Senior tech writer covering AI, gadgets and cybersecurity. Breaking down the news that matters, every day.