Skip to main content

Detekt Rule Set

The authors ruleset provides rules that ensures good practices when writing detekt rules

RequiresTypeResolutionRulesDoesNotRunWithoutAContext

A rule annotated with RequiresTypeResolution should override visitCondition and return false if the provided bindingContext is empty.

<non-compliant>

Active by default: Yes - Since v1.22.0

Debt: 5min