FailurePolicy

sealed class FailurePolicy

Policy to decide if detekt throws an error.

Inheritors

Types

Link copied to clipboard
data class FailOnSeverity(val minSeverity: Severity) : RulesSpec.FailurePolicy

No issue at or above the specified severity is allowed.

Link copied to clipboard

Any number of issues is allowed. The build never fails due to detekt issues.