Automatically fixes Swift style violations and formats code according to project standards using SwiftLint and SwiftFormat.
The swiftlint-autofix skill streamlines the iOS development workflow by automating the correction of linting errors and code formatting inconsistencies. It executes SwiftFormat via local makefiles, applies SwiftLint's autocorrect capabilities to resolve style violations, and identifies any remaining issues that require manual intervention. This tool is essential for maintaining a clean, standardized Swift codebase and ensuring that code passes CI/CD linting checks before submission.
主要功能
01Instant SwiftLint autocorrection for style violations
027 GitHub stars
03Intelligent reporting of remaining manual issues
04Prioritized error and warning visibility
05Concise summaries of formatting and fix counts
06Automated SwiftFormat execution via make commands
使用场景
01Standardizing team-wide Swift code styles automatically
02Cleaning up legacy Swift codebases with inconsistent styling
03Preparing code for pull requests to ensure linting compliance