Releases: Snapp-Mobile/SwiftFormatLintPlugin
Releases · Snapp-Mobile/SwiftFormatLintPlugin
v1.0.4
v1.0.3
What's New:
This release transfers the plugin to Snapp-Mobile and introduces clearer naming to make it easier to understand
and use.
Improvements:
- Clearer plugin names: The plugins are now called Lint (runs automatically during builds) and Format (manual
code fixing), making it obvious which one does what - Better documentation: Simplified README that's easier to follow
- Organized file structure: Plugin folders now match their purpose, reducing confusion
- Updated to Snapp Mobile Germany GmbH as the maintainer
How to Use:
Add to your Package.swift:
.package(url: "https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git", from: "1.0.3")Then add the Lint plugin to your target to automatically check code formatting during builds.
No Breaking Changes - If you're upgrading from earlier versions, you only need to update the plugin names in
your code from SwiftFormatPlugin to Lint.
v1.0.2
Add minimal build target to satisfy Swift Package Index requirements.
This change ensures the package passes SPM build checks without affecting plugin functionality.
1.0.1
v1.0.1 Documentation improvements
1.0.0
A Swift Package Manager plugin that integrates swift-format into your build workflow.
Features:
- Automatic linting on every build via SwiftFormatPlugin
- Manual formatting with FormatPlugin command
- Parallel processing for improved performance
- Dual config support (.swiftformat and .swift-format)
- Xcode and SPM compatible
- Enhanced diagnostics showing active configuration file
Requirements:
- Swift 6.0+
- swift-format tool (included with Xcode or Swift toolchain)