https://github.com/slashmo/swiftformat-docker
🐳💅 Docker images for recent SwiftFormat versions.
https://github.com/slashmo/swiftformat-docker
docker formatting linting swift swiftformat
Last synced: 5 months ago
JSON representation
🐳💅 Docker images for recent SwiftFormat versions.
- Host: GitHub
- URL: https://github.com/slashmo/swiftformat-docker
- Owner: slashmo
- License: mit
- Created: 2019-12-09T17:28:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-23T12:26:37.000Z (over 6 years ago)
- Last Synced: 2026-01-18T21:42:40.335Z (5 months ago)
- Topics: docker, formatting, linting, swift, swiftformat
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swiftformat-docker
Docker images for recent [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) versions.
## Versions
- Swift 5.1.2
- Supported SwiftFormat versions can be found [here](https://github.com/slashmo/swiftformat-docker/releases)
## Usage
##### Pull the Docker image from Docker Hub:
```bash
docker pull slashmo/swiftformat
```
##### Create a container from the image and attach the code to be formated as a volume:
```bash
docker run --rm -v "$(pwd):/app" slashmo/swiftformat
```