spotless
spotless copied to clipboard
Keep your code spotless
Related to https://github.com/diffplug/spotless/issues/579 Currently I am having an issue in upgrading Kafka's scala's spotless plugin to the latest version of scalafmt (3.5.8), you can see the PR here https://github.com/apache/kafka/pull/12475#issuecomment-1210703856. While...
Sometimes we may have some `http` code in `markdown`, e.g. image link like: ```html ``` Currently, [markdown.FlexmarkStep](https://github.com/diffplug/spotless/blob/main/lib/src/main/java/com/diffplug/spotless/markdown/FlexmarkStep.java) in spotless could not fix `http` code formatting in `markdown`. It would be...
If you specify `rachetFrom` and the branch doesn't exist locally, it should be fetched by the ratchet infrastructure. https://github.com/JLLeitschuh/spotless/runs/1200916598?check_suite_focus=true#step:5:56 ``` [2020-10-02 21:07:06] [autobuild] * What went wrong: [2020-10-02 21:07:06] [autobuild]...
Using a maven plugin I found out that version `2.24.0` rely on singe occurrence of year token. Sadly license header I deal with have two lines where $YEAR should be...
If you are submitting a **bug**, please include the following: - [x] summary of problem - [x] gradle or maven version - [x] spotless version - [x] operating system and...
I found a bug with klint, especially the use of .editorconfig file. When I use only klint the indend_size of the file is well use but not with spotless. Is...
See this [ktlint issue](https://github.com/pinterest/ktlint/issues/1560) for further information. - [x] summary of problem: ktlint's `multiline-if-else` rule is not fixed automatically. - [x] gradle or maven version: Gradle 7.4.2 - [x] spotless...
We are able to call `clang-format` by shelling out to it on the system path, and we are able to cache its results by enforcing a version check on the...
Hello :wave:, I was trying out Spotless for Gradle today and found that if failed to format my .gitignore. A minimal example would use the following `build.gradle`: ``` plugins {...
We are able to call `black` by shelling out to it on the system path, and we are able to cache its results by enforcing a version check on the...