swift-format
« Back to VersTracker
Description:
Formatting technology for Swift source code
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: swift formatter development code-style linting
Install: brew install swift-format
About:
SwiftFormat is a code formatting tool for Swift that enforces the official Swift API Design Guidelines. It automatically reformats source code to ensure consistent style and readability across projects, integrating seamlessly into development workflows.
Key Features:
  • Automatic code formatting based on Swift API Design Guidelines
  • Highly configurable rules and style options
  • Integration with Xcode build phases and CI/CD pipelines
  • Support for Swift Package Manager and command-line usage
Use Cases:
  • Enforcing consistent code style across team projects
  • Automating code cleanup in continuous integration environments
  • Preparing legacy codebases for modern Swift standards
Alternatives:
  • SwiftLint – SwiftLint focuses on linting and style enforcement with warnings, while SwiftFormat actively rewrites code to fix formatting issues.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 6:54am 0 VERSION_BUMP 0e7b6dc6
Oct 25, 2024 6:10am 1 VERSION_BUMP d4ddcf1e
Oct 25, 2024 5:43am 1 VERSION_BUMP 38c422da