🍺 BREW Explorer

← all formulae

swiftlint

brew install swiftlint v0.63.3 MIT

Swift linter and static analyzer enforcing style conventions and code quality rules.

Why you might care

Catches style violations, naming issues, and potential bugs in Swift code before commit or CI. Integrates easily into Xcode, build pipelines, and pre-commit hooks with customizable rules. Essential for teams enforcing consistent Swift style across large codebases.

Categories

Alternatives

swiftformat taiga
33.7k
30-day installs · #174
95.7k
90-day · #187
418.5k
365-day · #169
19.6k
★ GitHub stars · updated today

GitHub topics

code-quality hacktoberfest linter linting static-analysis swift

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "swiftformat",
    "taiga"
  ],
  "build_dependencies": [],
  "categories": [
    "linter",
    "static-analysis"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tool to enforce Swift style and conventions",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:43+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "swiftlint",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-20T21:13:46Z",
  "github_readme_excerpt": "# SwiftLint\n\nA tool to enforce Swift style and conventions, loosely based on the now\narchived [GitHub Swift Style Guide](https://github.com/github/swift-style-guide).\nSwiftLint enforces the style guide rules that are generally accepted by the\nSwift community. These rules are well described in popular style guides like\n[Kodeco\u0027s Swift Style Guide](https://github.com/kodecocodes/swift-style-guide).\n\nSwiftLint rules are predominantly based on [SwiftSyntax](https://github.com/swiftlang/swift-syntax).\nSome rules still hook into [Clang](http://clang.llvm.org) and\n[SourceKit](http://www.jpsim.com/uncovering-sourcekit) to access type information.\n\n[![Supported Swift Versions](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Frealm%2FSwiftLint%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/realm/SwiftLint)\n[![Supported Platforms](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Frealm%2FSwiftLint%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/realm/SwiftLint)\n[![Buildkite Build Status](https://badge.buildkite.com/e2a5bc32c347e76e2793e4c5764a5f42bcd42bbe32f79c3a53.svg?branch=main)](https://buildkite.com/swiftlint/swiftlint)\n\n![SwiftLint violations highlighted in the Xcode editor](https://raw.githubusercontent.com/realm/SwiftLint/main/assets/screenshot.png)\n\nThis project adheres to the\n[Contributor Covenant Code of Conduct](https://realm.io/conduct).\nBy participating, you are expected to uphold this code.\n\n\u003e Switch Language:\n\u003e [\u4e2d\u6587](https://github.com/realm/SwiftLint/blob/main/README_CN.md),\n\u003e [\ud55c\uad6d\uc5b4](https://github.com/realm/SwiftLint/blob/main/README_KR.md)\n\n## Video Introduction\n\nTo get a high-level overview of SwiftLint, we encourage you to watch this\npresentation recorded January 9th, 2017 by JP Simard (transcript provided):\n\n[![Presentation](https://raw.githubusercontent.com/realm/SwiftLint/main/assets/presentation.svg)](https://youtu.be/9Z1nTMTejqU)\n\n## Installati",
  "github_repo": "realm/SwiftLint",
  "github_stars": 19628,
  "github_topics": [
    "code-quality",
    "hacktoberfest",
    "linter",
    "linting",
    "static-analysis",
    "swift"
  ],
  "homepage": "https://github.com/realm/SwiftLint",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 33725,
  "installs_365d": 418478,
  "installs_90d": 95740,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:43:12+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "swiftlint",
  "oldnames": [],
  "one_liner": "Swift linter and static analyzer enforcing style conventions and code quality rules.",
  "optional_dependencies": [],
  "rank_30d": 174,
  "rank_365d": 169,
  "rank_90d": 187,
  "raw_hash": "2b648776bbbbc2fd",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/swiftlint.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "swift": "build"
    },
    "curl",
    "libxml2"
  ],
  "version_head": "HEAD",
  "version_stable": "0.63.3",
  "versioned_formulae": [],
  "why_use_this": "Catches style violations, naming issues, and potential bugs in Swift code before commit or CI. Integrates easily into Xcode, build pipelines, and pre-commit hooks with customizable rules. Essential for teams enforcing consistent Swift style across large codebases."
}