{"repo":"diffplug/spotless","free":true,"listed":false,"github":"https://github.com/diffplug/spotless","clone":"git clone https://github.com/diffplug/spotless.git","description":"Keep your code spotless","language":"Java","stars":5615,"topics":["gradle","java","plugin-gradle","formatter","kotlin","scala","groovy","maven","prettier","javascript"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Spotless: Keep your code spotless Spotless can format &lt;antlr c c# c++ css flow graphql groovy html java javascript json jsx kotlin less license headers markdown objective-c protobuf python scala scss shell sql typeScript vue yaml anything using &lt;gradle maven sbt anything . You probably want one of the links below: ❇️ Spotless for Gradle (with integrations for VS Code and IntelliJ) ❇️ Spotless for Maven ❇️ Spotless for SBT (external for now) Other build systems How it works (for potential contributors) Ideally, a code formatter can do more than just find formatting errors - it should fix them as well. Such a formatter is just a Function , which returns a formatted version of its potentially unformatted input. It's easy to build such a function, but there are some gotchas and lots of integration work (newlines, character encodings, idempotency, git ratcheting, and build-system integration). Spotless tackles those for you so you can focus on just a simple Function which can compose with any of the other formatters and build tools in Spotless' arsenal . Current feature matrix Feature / FormatterStep gradle maven sbt (Your build tool here) --------------------------------------------- ------------- ------------ ------------ -------- Automatic idempotency safeguard :+1: :+1: :+1: :white large square: Misconfigured encoding safeguard :+1: :+1: :+1: :white large square: Toggle with spotless:off and spotless:on :+1: :+1: :white large square: :white large square: Ratchet from ori","default_branch":null,"files":null,"tree":[],"storefront":"/r/diffplug","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/diffplug/spotless/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}