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
Javier
06/14/2022, 10:32 AM
Error?
Javier
06/14/2022, 10:33 AM
I have using it with function with camel case with no issues 🤔
Javier
06/14/2022, 10:34 AM
composable functions for example
p
pablisco
06/14/2022, 10:53 AM
Hmm, it may be a spotless issues. Gonna investigate a bit more