Today, I applied detekt and ktlint. But it caused a lot of problems. Some errors looked wrong. So, I searched about Compose detekt and ktlint. And I found Twitter one.
https://github.com/twitter/compose-rules
And also this one:
https://github.com/appKODE/detekt-rules-compose
But still, I'm wondering about the result. Compose functions are for layout and It can be longer. And Why does it give error like LongMethod thing? Yes, Generally, long method is not good, it is against to the Clean Code thing too. But it's Composable functions. Is it the same? Is it better to extract the methods to small functions?