scalameta/scalafmt
Scalafmt is a code formatter for the Scala programming language that supports JVM, JavaScript, and Native platforms. It provides a stable public API for editor plugins and build tools, enabling programmatic code formatting and configuration management. The system includes comprehensive test suites and benchmarking infrastructure to ensure formatting correctness and performance across various Scala versions and community projects.
58.0
Adequate · 3 August 2026
42k
lines of production code
Scala
primary language
2
bus factor · 195 authors in all
3
measurements over time
How it got here
2015–2019 · Platform expansion and tooling modernization
This period focused on modernizing the project's infrastructure by migrating CI workflows, upgrading build dependencies, and introducing Docker and GraalVM native image support. The team expanded platform compatibility to include JavaScript and improved regex handling for cross-platform consistency. Additionally, the documentation and website were migrated to Docusaurus, and comprehensive benchmarking suites were added to measure performance across different formatting styles.
18 changes
2021–2024 · Cross-platform architecture and test expansion
The project refactored its internal structure to support JVM, JavaScript, and Scala Native platforms by introducing shared modules for system operations, configuration, and public interfaces. Concurrently, the codebase expanded its test coverage significantly, adding extensive test cases for formatting rules, dialects, and platform-specific behaviors.
31 changes
2025–2026 · JavaScript platform support and community testing
This period focused on extending Scalafmt's runtime capabilities to JavaScript and Native platforms, introducing new modules for system operations, CLI utilities, and public interfaces in those environments. Simultaneously, the project significantly expanded its test coverage by adding comprehensive unit tests for core system operations and establishing a community test infrastructure to validate formatting across various Scala versions, frameworks, and real-world repositories.
19 changes
Survey your own repository
scalameta/scalafmt was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 91a0a11c4e — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.