Writing Clean Code is an art and there are some tools that help you to achieve, among those tools my favorite is ktlint. I would suggest whenever you are setting up a new project add this tool in your template.
I develop Android Apps along with Backend
and My only LOVE is Kotlin