spotless
spotless copied to clipboard
Keep your code spotless
As discussed in https://github.com/diffplug/spotless/issues/76, building a binary wrapper for Spotless seems to be a (probably?) necessary step to building a cleanly written Bazel extension. Since much of the work needs...
The issue/enhancement: **Maven plugin should support skip #491** no longer functions as of release 2.19.0. mvn spotless:check or mvn spotless:apply does not get skipped as in earlier releases. ` com.diffplug.spotless...
Hi, I am trying to find a solution to this problem. Could you, please, point me to the right direction. - [ ] summary of problem When executing ./mvnw spotless:apply...
Follow up from https://github.com/diffplug/spotless/issues/409#issuecomment-1107055624 I had been watching the issue around this before, but it was closed after just the first request (experimental ruleset) was completed. Currently my team runs...
I am using -PspotlessIdeHook to have spotless format all files that lint-staged detects. So, before a commit succeeds, lint-staged triggers spotless individually for each file since the -PspotlessIdeHook parameter accepts...
Fixes #1207. Adds a step and a Gradle Extension for formatting Protobuf using `buf format`. Open questions: - ~Is there an existing pattern I can copy to grab the Buf...
Anywhere we throw this exception: https://github.com/diffplug/spotless/blob/6ef9878653d8965f7a912bea4a44a081c3f06adb/plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JvmLocalCache.java#L32-L36 We could instead just do the `rm -rf` ourselves and then use `project.gradle.startParameter` to reconstruct and execute the gradle invocation. ([javadoc](https://docs.gradle.org/current/javadoc/org/gradle/StartParameter.html)) I think the...
The [Buf](https://buf.build/) tool for protobuf recently added the [`buf format`](https://docs.buf.build/format/usage) command. Buf is currently published with a download link on their GitHub release page and to DockerHub. They have an...
Hi, I am using spotless with maven plugin and I am looking for a documentation how to use it via Eclipse. Is it possible to use maven plugin with Eclipse?...
- [ ] summary of problem when i run `./gradlew spotlessApply --info` it show below warning: ``` Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/eclipse/platform/org.eclipse.swt.$%7Bosgi.platform%7D/3.118.0/org.eclipse.swt.$%7Bosgi.platform%7D-3.118.0.pom] ``` - I try this way, but also...