swiftlint
Installation
SKILL.md
SwiftLint (iOS / Swift)
Static analysis and style enforcement for Swift. This skill covers configuration
authoring, build integration, and rollout — grounded in the realm/SwiftLint
and SimplyDanny/SwiftLintPlugins docs. For a fintech codebase the goal is a lint gate
that blocks new violations without a big-bang cleanup of the existing ones.
- SwiftLint has two rule engines: lint rules (syntactic, AST via SourceKit) run by
swiftlint lint(default), and analyzer rules run byswiftlint analyzeagainst a compiler log. - Ships default-on rules plus a large opt-in set.
swiftlint ruleslists every rule and whether it's enabled;swiftlint reporterslists output formats.