diffplug/spotless

Keep your code spotless

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 12th, 2026
Created on April 27th, 2015
Open Issues & Pull Requests: 259 (+0)
GitHub issues: Enabled
Number of forks: 559
Total Stargazers: 5,644 (+1)
Total Subscribers: 30 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 33.9 hours
Mean response time: 44.7 days
90th percentile: 110.1 days
Tracked items: 287

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 90% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 7 hours, while "bug-unconfirmed" waits about 3 days. 71% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 135
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 693 days
Stale 30+ days: 119
Stale 90+ days: 106

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (73)
  • bug (58)
  • bug-unconfirmed (27)
  • question (10)
  • breaking (2)
  • easy (2)
  • dependencies (1)
  • importsorter (1)

Detailed Description

Spotless is a code formatter plugin that integrates with build systems to automatically format and fix code across multiple languages.

The tool solves the problem of maintaining consistent code formatting across projects by wrapping formatters as simple string transformation functions and handling the integration complexities that formatters typically ignore. It manages concerns like line endings, character encodings, idempotency, and git ratcheting so that formatter implementations can remain straightforward. Spotless composes multiple formatters together and works across different build systems, allowing teams to apply formatting rules uniformly without reimplementing integration logic for each formatter or build tool combination.

Spotless suits teams that want centralized, automated code formatting without manual configuration of each formatter's quirks. It works with Gradle, Maven, and SBT, with dedicated plugins for Gradle and Maven that include IDE integrations for VS Code and IntelliJ. The tool supports a wide range of languages including Java, Kotlin, Scala, Python, JavaScript, TypeScript, CSS, SQL, YAML, and many others, making it applicable to polyglot codebases. Projects that need to enforce formatting standards across multiple languages or build systems will find the unified approach valuable compared to managing separate formatter configurations.

The project maintains active development with regular updates to support new formatters and languages. The codebase demonstrates careful attention to edge cases and compatibility, as evidenced by dedicated test coverage for encoding errors and idempotency concerns. The maintainers have documented complex integration challenges like the ratcheting feature and padding cell behavior, indicating a commitment to helping contributors understand the non-obvious aspects of code formatting infrastructure.