We have ktfmt enabled in our project using spotless.
I found a problem with the check. It complains when using factory functions with UpperCamelCase naming.
However, this is valid under Kotlin lang rules:
https://kotlinlang.org/docs/coding-conventions.html#function-names
Is there a way to change this? Or shall I open a PR for this? Thank you 🙏