IndentationStyle

enum IndentationStyle : Hashable

The style of indentation used in a Swift project.

  • Swift source code should be indented using tabs.

    Declaration

    Swift

    case tabs
  • Swift source code should be indented using spaces with count spaces per indentation level.

    Declaration

    Swift

    case spaces(count: Int)
  • The default indentation style if none is explicitly provided.

    Declaration

    Swift

    public static var `default`: Configuration.IndentationStyle