swiftlint
« Back to VersTracker
Description:
Tool to enforce Swift style and conventions
Type: Formula  |  Latest Version: 0.62.2@0  |  Tracked Since: Oct 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: swift linting code-quality formatter development
Install: brew install swiftlint
About:
SwiftLint is a command-line tool and Swift Package Plugin that enforces style guides and conventions for Swift code. It analyzes source files to report violations of rules defined by the Swift Style Guide or custom configurations. This helps teams maintain consistent code quality, reduce nitpicking during code reviews, and automate formatting standards.
Key Features:
  • Over 200 built-in rules covering formatting, linting, and best practices
  • Highly configurable via a .swiftlint.yml file for project-specific rules
  • Integrates with Xcode as a build phase or via Swift Package Manager
  • Supports auto-correcting many violations to fix code automatically
Use Cases:
  • Enforcing consistent code style across a team of developers
  • Automating code reviews to catch common errors and anti-patterns
  • Migrating legacy codebases to modern Swift standards
Alternatives:
  • SwiftFormat – Focuses primarily on auto-reformatting code, whereas SwiftLint emphasizes linting and rule enforcement with some auto-correct capabilities.
Version History
Detected Version Rev Change Commit
Oct 28, 2025 5:16pm 0 VERSION_BUMP eb43ac43
Jan 16, 2025 11:05pm 0 VERSION_BUMP f46d2994
Jan 16, 2025 4:21pm 0 VERSION_BUMP 515b97f9
Jan 16, 2025 3:50pm 0 VERSION_BUMP e7915c5a
Jan 12, 2025 3:58pm 0 VERSION_BUMP 3eaa97ec
Jan 12, 2025 3:25pm 0 VERSION_BUMP cd157288
Nov 24, 2024 3:48pm 0 VERSION_BUMP f8d0e2f1
Oct 28, 2024 7:23pm 1 VERSION_BUMP b036c0c1
Sep 12, 2024 4:30pm 0 VERSION_BUMP 8db22ba1
Sep 12, 2024 10:31am 0 VERSION_BUMP 9431320d