swift-format

Transform all incoming Swift code with swift-format.

Configuration - .deepsource.toml

This section covers configuration specific to the swift-format transformer. Please make sure you read the general configuration guide first.

name

  • Type: String
  • Presence: mandatory
  • Description: Shortcode of this transformer.
  • Example:
name = "swift-format"

enabled

  • Type: Boolean
  • Presence: optional
  • Description: Toggle whether this transformer should be run.
  • Example:
enabled = true