Kirill Zhukov
03/28/2023, 7:38 AMForbiddenMethodCall
expected to work?
I have this config and it doesn’t seem to pick up on runBlocking
calls in the codebase 👀
ForbiddenMethodCall:
active: true
methods:
value: 'runBlocking'
Kirill Zhukov
03/28/2023, 7:38 AMKirill Zhukov
03/28/2023, 7:38 AMkotlinx.coroutines.runBlocking
Kirill Zhukov
03/28/2023, 7:40 AMprintln
and print
aren’t caughtSam
03/28/2023, 7:41 AMKirill Zhukov
03/28/2023, 7:44 AMdetektMetadataCommonMain
in the kmp project, does that enable type resolution?Atul Gupta
03/28/2023, 8:33 AMdetekt
prints if any rule is skipped due to type resolution or not
Log message: The rule 'UnnecessarySafeCall' requires type resolution but it was run without it
Atul Gupta
03/28/2023, 8:34 AMdetekt {
debug = true
}
in detekt gradle configKirill Zhukov
03/29/2023, 2:08 AMThe rule 'ForbiddenMethodCall' requires type resolution but it was run without it.
Kirill Zhukov
03/29/2023, 2:09 AMcommonMain
source set? 🤔Kirill Zhukov
03/29/2023, 2:13 AMmkrussel
03/29/2023, 12:30 PM