Stop bugs before “ready for test”: how to ensure code quality in Kotlin with detekt