Ktlint
By Moro
Captain, I found a way to improve our Code quality…
Explain…
Take a look sir!
Put Ktlint in the CI/CD pipeline,to check their code.
It is an order!
First, I will add Ktlint plugin into the project:
gradle/ -> libs.versions.toml
[versions]
[plugins]
Applying the new plugin for all modules…
build.gradle.kts (project level)
I have permission to send this to the main branch
Yep, you have!
Updating the CI/CD to run ktlint task:
Peralta, your PR is failing!
What?!
It is impossible!
Yep. It is failing Peralta. You need to format your code using ktlint, and send it again!
Ty Sarge!