spotless icon indicating copy to clipboard operation
spotless copied to clipboard

Keep your code spotless

Results 344 spotless issues
Sort by recently updated
recently updated
newest added

The Gradle plugin currently doesn’t support [Parallel Configuration Caching](https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage:parallel), but it would be useful it it did. When enabling `org.gradle.configuration-cache.parallel`, spotless tasks randomly fail with exceptions like this one: >...

enhancement

I'd like to be able to optionally enable `.gitignore` support where spotless honors the rules set there and automatically ignores files I don't track. There are workarounds for this but...

enhancement

Currently it is only possible to load FormatterProperties from a File (e.g., XML in the case of eclipse) or String-based properties (https://github.com/diffplug/spotless/blob/4dd0095437906713fc6bad3a2e160646e11b419a/lib/src/main/java/com/diffplug/spotless/FormatterProperties.java). However, we would like to ship our XML...

question

This is a follow on from #2343 (which is great!) produced by @tomasbjerre. I have a remote deployed IDE configuration (that we use for both maven and gradle). Ideally, rather...

Hello Today running spotlessCheck allows the display of maximum 10 files as stated in : https://github.com/diffplug/spotless/blob/5a5db69db6254de76c2b33ca4c1f76d3da5d62b3/lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java#L161 Example of logged error today : ``` Violations also present in 41 other files....

enhancement

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.cucumber:gherkin-utils](https://redirect.github.com/cucumber/cucumber-parent) ([source](https://redirect.github.com/cucumber/gherkin-utils)) | `9.0.0` -> `9.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.cucumber:gherkin-utils/9.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

the `spotlessCheck` task seems to (indirectly) use the file `.git/HEAD`, as switching between branches causes a gradle configuration cache miss. EG: ```bash > git checkout test-branch > gradle spotlessCheck …...

bug

Hi, I am trying to setup jujutsu so that it runs spotless (configured using the maven plugin in my repository) when using `jj fix`, see https://jj-vcs.github.io/jj/latest/cli-reference/#jj-fix. The problem is that...

enhancement

### Motivation Sometimes, I would love to be able to quickly format some files from my command line, like I'm used to when working on bigger projects, where we've introduced...

We have multiple prettier-based tasks in our project, and we occasionally observe `java.net.ConnectException: connection denied`. This only happens in subprojects where multiple file types need to be formatted and use...

bug