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

*We have JitPack setup, so you can grab any commit you want at any time, see [these instructions](https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md#gradle---any-commit-in-a-public-github-repo-this-one-or-any-fork).* The whole point of Spotless is that formatting should not matter. If...

enhancement

This PR brings support of the Maven local repository configuration to store the Equo P2 cache. This tackles what was mentioned in this comment https://github.com/diffplug/spotless/issues/1687#issuecomment-1862244636. And more precisely the use...

When you use `editorConfigOverride` with map that has at least 1 entry, for example with arbitrary key that doesn't exist: ```gradle.kts spotless { kotlinGradle { target("*.gradle.kts") ktlint("1.3.1").editorConfigOverride( mapOf( "abc" to...

bug-unconfirmed

If you are submitting a **bug**, please include the following: - [x] copy-paste the full content of any console errors emitted by `gradlew spotless[Apply/Check] --stacktrace` If you're just submitting a...

bug-unconfirmed

[DRAFT!] This PR introduces correct UP-TO-DATE checking for the npm based steps. As discussed in #2140 I've tried both ways: Using (1) the current "serialization-as-equality-hack" or (2) implementing `FormatterStep` directly....

When executing `spotlessApply` on either of the gradle modules it fails with ``` Execution failed for task ':...spotlessJava'. > Cannot fingerprint input property 'steps': value '[com.diffplug.spotless.FilterByFileFormatterStep@e7d7d4f8, com.diffplug.spotless.FormatterStepSerializationRoundtrip@6792acf9, com.diffplug.spotless.FormatterStepSerializationRoundtrip@9203e918, com.diffplug.spotless.FormatterStepSerializationRoundtrip@91f0afcc, com.diffplug.spotless.FormatterStepSerializationRoundtrip@ad1b726e,...

bug-unconfirmed

This closes #2277. It is not properly formatted though due to #2290 WIP Please **DO NOT FORCE PUSH**. Don't worry about messy history, it's easier to do code review if...

Gradle Version: 8.10.2 Spotless Version: 7.0.0.BETA3 OS: MacOS 15.0.1 Repo link: https://github.com/fangzhengjin/spotless-issues-2303 Spotless configuration: ```kotlin spotless { yaml { target("src/**/*.yaml", "src/**/*.yml") jackson() // com.fasterxml.jackson.databind.SerializationFeature .feature("INDENT_OUTPUT", true) .feature("ORDER_MAP_ENTRIES_BY_KEYS", true) // com.fasterxml.jackson.dataformat.yaml.YAMLGenerator.Feature...

bug-unconfirmed