Skip to main content
Version: Next

Ruleauthors Rule Set

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

UseEntityAtName

If a rule [report]s issues using [Entity.from] with [KtNamedDeclaration.getNameIdentifier], then it can be replaced with [Entity.atName] for more semantic code and better baseline support.

Active by default: Yes - Since v1.22.0

Debt: 5min

ViolatesTypeResolutionRequirements

If a rule uses the property [BaseRule.bindingContext] should be annotated with @RequiresTypeResolution. And if the rule doesn't use that property it shouldn't be annotated with it.

Active by default: Yes - Since v1.22.0

Requires Type Resolution

Debt: 5min