listOption

fun <T> listOption(name: String, deprecation: RuleOptionDeprecation? = null, itemParser: (String) -> T): ReadOnlyProperty<Rule, RuleOption<List<T>?>>

Declares a comma-separated list rule option and exposes it as a property delegate.


fun <T> listOption(name: String, defaultValue: List<T>, deprecation: RuleOptionDeprecation? = null, itemParser: (String) -> T): ReadOnlyProperty<Rule, RuleOption<List<T>>>

Declares a comma-separated list rule option with a default value and exposes it as a property delegate.