spotless
spotless copied to clipboard
Keep your code spotless
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` | [](https://docs.renovatebot.com/merge-confidence/) | [](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...
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...
```- [ ] 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...
```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...
- 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...
## Summary When I changed the build directory, Spotless doesn't seem to recognize the changed build directory. ### Detail  Changed the Gradle build directory from default (`rootDir/build`) to custom...
- 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