RulesMode
enum RulesMode
Represents how a Configuration object can be configured with regards to rules.
-
The default rules mode, which will enable all rules that aren’t defined as being opt-in (conforming to the
OptInRuleprotocol), minus the rules listed indisabled, plus the rules listed inoptIn.Declaration
Swift
case `default`(disabled: Set<String>, optIn: Set<String>) -
Only enable the rules explicitly listed.
Declaration
Swift
case only(Set<String>) -
Enable all available rules.
Declaration
Swift
case allEnabled
View on GitHub
Install in Dash
RulesMode Enumeration Reference