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

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.scalameta:scalafmt-core_2.13](https://redirect.github.com/scalameta/scalafmt) | `3.8.1` -> `3.9.7` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.scalameta:scalafmt-core_2.13/3.9.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.scalameta:scalafmt-core_2.13/3.9.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

If you are submitting a **bug**, please include the following: - [x] summary of problem The npm-based steps don't capture their settings files in their state, which makes them too...

bug

The [documentation](https://github.com/diffplug/spotless/tree/main/plugin-gradle#flexmark) says configuration options aren't available but the default configuration sets no limit for line length which kind of makes formatting markdown useless because each developer can make lines...

enhancement

```- [ ] summary of problem When try to run "mvn -s settings.xml spotless:check", it can't locate this plugin due to "org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'spotless'" I even...

waiting on PR submitter

```groovy plugins { id 'com.diffplug.spotless' version '7.0.0.BETA1' } spotless { java { target("compatLib/**/src/**/*.java") googleJavaFormat().aosp() removeUnusedImports() } kotlin { target("lawnchair/src/**/*.kt") ktlint().customRuleSets([ "io.nlopez.compose.rules:ktlint:0.4.3", ]).editorConfigOverride([ "ktlint_compose_compositionlocal-allowlist": "disabled", ]) } } ``` ``` Could...

bug

- This PR replaces #1096 Main change is that `DirtyState` is now the primary entry-point for using a `Formatter`.

- This is a replacement PR for #1097 Spotless is still primarily a formatter, not a linter. But when formatting fails, it's more flexible to model those failures as lints...

We have a large Kotlin project where we use spotless. However, it is pretty slow. I came across the ratchetFrom property but seems like it is only for Git. How...

enhancement

## Summary When I changed the build directory, Spotless doesn't seem to recognize the changed build directory. ### Detail ![image](https://github.com/diffplug/spotless/assets/33625132/cad10e0c-0297-4351-8167-d265ece95448) Changed the Gradle build directory from default (`rootDir/build`) to custom...

bug

- As discussed https://github.com/diffplug/spotless/pull/2196#issuecomment-2315836050 - Removed the workaround for https://github.com/cli/cli/issues/9299 - I manually edited our published notes to remove the little scrap of noise