ktlint-gradle icon indicating copy to clipboard operation
ktlint-gradle copied to clipboard

Broken/incomplete reporting

Open jbruchanov opened this issue 2 years ago • 3 comments

./gradlew ktlintCheck -> tells me there are 2 issues ./gradlew ktlintFormat -> fixes everything (way more files updated)

works correctly if I run ktlint manually

ktlint = "0.50.0" ktlintplugin = "11.5.1"

jbruchanov avatar Aug 08 '23 08:08 jbruchanov

ktlint = "1.0.0" ktlintplugin = "11.6.0"

reproducible with ^ versions..

looks like running ./gradlew ktlintCheck for 2nd time right away prints out everything 🤷‍♂️

jbruchanov avatar Sep 20 '23 20:09 jbruchanov

Thanks for the report. I'll see if I can figure this out.

wakingrufus avatar Sep 20 '23 22:09 wakingrufus

is there any progress on this ? just updated to 12.1.1...

and I always need to run ktlintCheck twice...

1st run gives me like 1st line or few errors... 2nd run gives me full list

using

ktlint = "1.3.0"
ktlintplugin = "12.1.1"
ktlintrules-compose = "0.4.4"

jbruchanov avatar Jun 27 '24 13:06 jbruchanov