With detekt-cli it’s pretty simple to setup a githook to run on pre-commit to check for rules that don’t require type resolution, but I haven’t been successful trying to enable it for type resolutin, even through a modified task to run “detektDebug” on top of files on git diff.