Biome vs Scalafmt
Biome
biomejs.devScalafmt
scalameta.orgSide by side
| Figure | Biome | Scalafmt |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Code Formatting Tools | 8.2 (#6) | 7.6 (#22) |
| Editor integrations | First-party extensions are available for VS Code, IntelliJ, and Zed. | The documentation describes use with IntelliJ, VS Code, Vim, NeoVim, Emacs, Sublime Text, and Eclipse, with Metals supporting formatting requests from editors. |
| Purpose | Biome is a toolchain for web projects that provides tools to maintain project health. | Scalafmt is a code formatter for Scala that formats code consistently across a team. |
Plans
In their own words
Biome
Biome is a toolchain for maintaining the health of web projects. It formats JavaScript, TypeScript, JSX, TSX, JSON, HTML, CSS, and GraphQL, and provides lint rules for JavaScript, TypeScript, JSX, CSS, and GraphQL. Linting can report diagnostics and apply safe fixes. Its check command can format files, lint them, and organize imports in one run. Biome is distributed as a standalone executable, so it does not require Node.js. Installation instructions cover npm, pnpm, bun, deno, and yarn. First-party editor extensions are available for VS Code, IntelliJ, and Zed; community extensions include Vim, Neovim, and Sublime Text. The getting-started guide links to CI integrations for GitHub Actions and GitLab CI. Biome describes itself as open source and lists MIT or Apache 2.0 licensing. The open-source toolchain is free. Contributors may offer commercial support, but requests depend on their availability.
Scalafmt
Scalafmt is a free Scala code formatter for keeping formatting consistent across a team. It handles Scala 2, Scala 3, sbt files and Scala scripts, with one dialect selected for each file. Formatting options are stored in a plain-text .scalafmt.conf file using HOCON syntax. Since version 3.1.0, the configuration must explicitly specify both the version and runner.dialect. Scalafmt can run from an editor, build tool or terminal. Documented editor integrations include IntelliJ, VS Code, Vim, NeoVim, Emacs, Sublime Text and Eclipse; Metals supports formatting requests from editors. It integrates with sbt and documents integrations for Maven, Gradle and Mill. Command-line check and test modes report misformatted code without writing changes. It also supports ignoring files, changed-lines formatting and a library API. IntelliJ range formatting uses IntelliJ’s own formatter by default: Scalafmt is designed primarily for whole files, and selected ranges may produce undesirable results. The project license is Apache-2.0.