ActiveByDefault

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ActiveByDefault(val since: String)

Annotated io.gitlab.arturbosch.detekt.api.Rule or io.gitlab.arturbosch.detekt.api.RuleSetProvider is active by default.

Constructors

Link copied to clipboard
fun ActiveByDefault(since: String)

Properties

Link copied to clipboard
val since: String

The Detekt version the rule was activated by default in the following format: .., where major, minor and patch are non-negative integer numbers.