diffplug/spotless
Keep your code spotless observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- 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: 0
- age_days: 4146
- days_rel: 16
- days_push: 11
- n_releases_24m: 70
Adoption not part of the score
5624 stars · 553 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Spotless is a code formatting plugin for Gradle, Maven, and SBT that checks and automatically fixes formatting violations across many languages including Java, Kotlin, Scala, Groovy, JavaScript, TypeScript, SQL, and more. It integrates formatters like google-java-format, Prettier, and ktlint, and can enforce license headers and git ratcheting.
Use cases
- enforce consistent code style across a java project
- auto-format kotlin and scala code in gradle builds
- fail CI builds when formatting violations exist
- apply prettier to typescript and javascript files via maven
- manage license headers across source files
- format sql, yaml, markdown, and css files in a repo
When to choose
- you build with gradle or maven and want automated, enforceable formatting
- you need multi-language formatting in a single plugin
- you want format checks integrated into your build and CI
When to avoid
- you need a standalone formatter outside a build tool
- your language or build system is unsupported
- you want an editor-first formatting experience rather than build-integrated
Facets
plugin · maturity stable
formatter build-tool linter developer-tools developer-tools version-control web-development testing jvm cross-platform code-formatting gradle-plugin maven-plugin java kotlin prettier license-headers code-style gradle maven
1 source
- readme: https://github.com/diffplug/spotless · fetched 2026-08-28 · 57ee1c189dd3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| diffplug/spotless | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="diffplug/spotless")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem