ktlint is good you can use it as a gradle plugin o...
# getting-started
n
ktlint is good you can use it as a gradle plugin or just run the binary on a folder
ktlint --format
fixes stuff up for you