SwiftFormat

SwiftFormat

Formatting tool for Swift code

Description

Teams writing Swift argue over indentation, spacing and braces in code review. SwiftFormat is a command-line tool and Xcode extension for formatting Swift code.

It enforces consistent, configurable style and plugs into Git hooks and CI.

Features



Auto format:Consistent.

Configurable:Team rules.

Xcode:Extension.

CI:Pre-commit checks.