Egor K.
06/19/2024, 8:51 AMvisit*
functions, my bindingContext is always BindingContext.Empty
?Sam
06/19/2024, 9:01 AMSam
06/19/2024, 9:02 AMBy default, theis initialized asbindingContext
. This is the default value that the rule receives if type resolution is not enabled.BindingContext.EMPTY
Egor K.
06/19/2024, 9:24 AMdetekt
instead of detektMain
https://detekt.dev/docs/gettingstarted/type-resolution/#enabling-on-a-jvm-project
detekt - Runs detekt WITHOUT type resolution
detektMain - Runs detekt with type resolution on the main source set