Scalafmt.
Format Scala across supported dialects
Pin a formatter version and choose the Scala dialect for each source tree. Verify formatting before review to keep semantic changes visible.
Scala
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
UnknownNo reviewed evidence is recorded for this dimension.
Can two readers identify the same obligation? Contribute evidence ↗
Measurement
VerifiedThe CLI test mode identifies misformatted Scala inputs without rewriting them.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
VerifiedThe upstream CLI documents --test and --check with exit status 1 on formatting failure; --check stops at the first failing file.
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
VerifiedTypelevel Cats pins Scalafmt and selects different dialects for sbt, Scala 2.12 and Scala 3 paths.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
scalafmt --test
Agent prompt
Use Scalafmt in this repository to meet this standard: Format Scala across supported dialects. Pin a formatter version and choose the Scala dialect for each source tree. Verify formatting before review to keep semantic changes visible. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.