intOption
fun intOption(name: String, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<Int?>>
Declares an integer rule option and exposes it as a property delegate.
fun intOption(name: String, defaultValue: Int, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<Int>>
Declares an integer rule option with a default value and exposes it as a property delegate.