spotless icon indicating copy to clipboard operation
spotless copied to clipboard

Keep your code spotless

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

Each Maven plugin should publish G-Level meta-data. https://maven.apache.org/repositories/metadata.html It is missing: https://repo.maven.apache.org/maven2/com/diffplug/spotless/maven-metadata.xml reference: - https://github.com/apache/maven/issues/11252

bug-unconfirmed

I have a [demo project](https://github.com/spartanhooah/smartbar-backoffice) that I've recently started. I generated some stubs from the OpenAPI spec using the Gradle plugin for that, and the code had some unused imports....

bug-unconfirmed

Hello Spotless maintainers, I'm a new potential contributor and I've been exploring the features of Spotless and comparing them to other code quality tools like checkstyle. I'm very impressed with...

enhancement

After upgrading Gradle to 9.0.0 in a project, it fails with ``` * What went wrong: Execution failed for task ':spotlessInternalRegisterDependencies'. > Cannot mutate configuration container for buildscript of root...

bug

Since `javax` is deprecated. We should migrate from `javax` to `jakarta`. This is not necessary. But I'd love to contribute if you want. :)

In Gradle kotlin scripts, `spotlessPredeclare` is not available as an assessor. In order to use this , one has to access it via the `extensions` API, e.g. using kotlin's `with`....

question

Hi Spotless team 👋 **Description:** I'm using the `spotless-maven-plugin` (`version 2.45.0-SNAPSHOT`) with the IntelliJ IDEA formatter integration on macOS (I'm using 2.45.0-SNAPSHOT, built locally, since there hasn't been a stable...

It would be really convenient if our tests could use multiline string literals. Then we could remove some of this cuteness https://github.com/diffplug/spotless/blob/aa78b56544ea55abd4cea673c7aaabb5c3da3fcc/testlib/src/main/java/com/diffplug/spotless/ResourceHarness.java#L184-L186 https://github.com/diffplug/spotless/blob/aa78b56544ea55abd4cea673c7aaabb5c3da3fcc/plugin-gradle/src/test/java/com/diffplug/gradle/spotless/ConfigurationCacheTest.java#L50-L61 Right now we test on two platforms...

enhancement

When using an npm package to format code, and that npm package has a range dependency onto another library, the formatting output can change silently. This just happened to us:...

enhancement

Only PMD found the unused stuff, spot missed: - https://github.com/quarkusio/quarkus/pull/48414 - https://github.com/diffplug/spotless/pull/2531 `[WARNING] PMD Failure: io.quarkus.test.ExportUtil:3 Rule:UnnecessaryImport Priority:4 Unused static import 'io.quarkus.test.ExportUtil.APPLICATION_PROPERTIES'. ` ```java package io.quarkus.test; import static io.quarkus.test.ExportUtil.APPLICATION_PROPERTIES; import...