openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
580 stars 316 forks source link

Use gradle plugin for ktlint #3644

Closed mueller-ma closed 1 month ago

mueller-ma commented 1 month ago

and auto fix format issues.

mueller-ma commented 1 month ago

@maniac103 What do you think about the auto fixes? Most of them seems good to me. But there are still tons of issues that cannot be auto fixed, so I'm not sure whether we want to run ktlint in the CI.

maniac103 commented 1 month ago

The amount of changes suggests we never used ktlint so far ... strange, I would've sworn this to be the case. Probably the best idea is to work towards being ktlint clean first and enable it afterwards.

maniac103 commented 1 month ago

I'm working on the ktlint cleanup (auto fixes + manual postprocessing).