scalameta/scalafmt
Code formatter for Scala observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 16
- age_days: 3957
- days_rel: 38
- days_push: 17
- n_releases_24m: 32
Adoption not part of the score
1488 stars · 289 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Scalafmt is a code formatter for Scala that enforces consistent style across a codebase. It is configurable via a .scalafmt.conf HOCON file and integrates with editors (IntelliJ, VS Code via Metals) and build tools (sbt, Maven, Gradle, Mill).
Use cases
- format scala code consistently across a team
- enforce code style in scala projects
- format on save in intellij or vs code
- run formatter from sbt or maven build
- reduce style debates in code review
- configure max line width and alignment rules
- format scala code from the terminal
When to choose
- you write Scala and want automatic, configurable code formatting
- your team wants a single shared style enforced by tooling
- you use sbt, Maven, Gradle, Mill, IntelliJ, or Metals and want integrated formatting
When to avoid
- you need to format non-Scala languages (use Prettier or language-specific formatters)
- you need range/selection formatting rather than whole-file formatting
- your project uses a legacy Scala version unsupported by current dialects
Facets
cli-tool · maturity stable
formatter developer-tools code-review cli programming-languages developer-tools version-control jvm cli cross-platform editor-plugin scala code-formatting sbt-plugin hocon-config intellij vs-code maven gradle mill command-line
5 sources
- readme: https://github.com/scalameta/scalafmt · fetched 2026-08-28 · 9fd57438f369
- homepage: http://scalameta.org/scalafmt · fetched 2026-08-29 · 5dd0f70aff82
- site_page: http://scalameta.org/scalafmt/docs/installation · fetched 2026-08-29 · 81188e91a9a6
- site_page: http://scalameta.org/scalafmt/docs/configuration · fetched 2026-08-29 · 851b4f612344
- site_page: http://scalameta.org/scalafmt/docs/contributing-scalafmt · fetched 2026-08-29 · 38d74504a5de
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| scalameta/scalafmt | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="scalameta/scalafmt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem