Open Pschsch opened 1 year ago
As of version 1.0.0-ALPHA-16, such checks are built into the compiler plugin. Together with the IDE plugin those warnings (or errors) are also shown in the IDE.
What would be the added benefit of a Detekt rule?
I've also seen this warning but I've ignored it. What's the proper way to fix this?
We want to throw an error if suspend and flow exposed to obj-c without plugin to clean up domain layer, because we want apply plugin only on ViewModel layer. With detekt we could achieve this automatically to avoid manual validating. As the alternative, kmp-native-coroutines plugin could provide plugin extension with flow declarations exposing compiler error level: warning or error. What do you think about this way?
Would be useful for teams who use this so popular analyzer