We have ktfmt enabled in our project using spotles...
# ktfmt
p
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 🙏
1
j
Error?
I have using it with function with camel case with no issues 🤔
composable functions for example
p
Hmm, it may be a spotless issues. Gonna investigate a bit more
j
I am using it with spotless too
p
Aaaand, never mind I was using an old version 🙈