swiftformat-docker
Docker images for recent SwiftFormat versions.
Versions
- Swift 5.1.2
- Supported SwiftFormat versions can be found here
Usage
Pull the Docker image from Docker Hub:
docker pull slashmo/swiftformat
Create a container from the image and attach the code to be formated as a volume:
docker run --rm -v "$(pwd):/app" slashmo/swiftformat