Skip to content

Releases: Snapp-Mobile/SwiftFormatLintPlugin

v1.0.4

04 Nov 11:29
d34da87

Choose a tag to compare

Reliability & Diagnostics Improvements

What's New

  • Improved error handling and reliability during formatting/linting operations
  • Added timeout protection to prevent indefinite hangs
  • Enhanced diagnostic output with file count feedback
  • Added troubleshooting guide to README

v1.0.3

04 Nov 11:00
921292b

Choose a tag to compare

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

16 Oct 09:48

Choose a tag to compare

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

15 Oct 10:12

Choose a tag to compare

v1.0.1

Documentation improvements

1.0.0

14 Oct 15:03

Choose a tag to compare

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)