RuleList

public struct RuleList
extension RuleList: Equatable

A list of available SwiftLint rules.

  • The rules contained in this list.

    Declaration

    Swift

    public let list: [String : any Rule.Type]

Initializers

  • Creates a RuleList by specifying all its rules.

    Declaration

    Swift

    public init(rules: any Rule.Type...)

    Parameters

    rules

    The rules to be contained in this list.

  • Creates a RuleList by specifying all its rules.

    Declaration

    Swift

    public init(rules: [any Rule.Type])

    Parameters

    rules

    The rules to be contained in this list.

  • Declaration

    Swift

    public static func == (lhs: RuleList, rhs: RuleList) -> Bool