enumListOption

inline fun <T : Enum<T>> enumListOption(name: String, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<List<T>?>>

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


inline fun <T : Enum<T>> enumListOption(name: String, defaultValue: List<T>, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<List<T>>>

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