ViolationSeverity

public enum ViolationSeverity : String, Comparable, Codable, InlinableOptionType

The magnitude of a StyleViolation.

  • Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.

    Declaration

    Swift

    case warning
  • Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.

    Declaration

    Swift

    case error

Comparable