A Docker image for running swiftlint. The source can be found on GitHub here: dantoml/docker-swiftlint.
docker run --volume /full/path/to/folder:/swiftlint dantoml/swiftlint:0.25.1 lint
stdin→ echo "let i = 0" | docker run dantoml/swiftlint:0.25.1 lint --use-stdin
Done linting! Found 1 violation, 0 serious in 1 file.
<nopath>:1: warning: Trailing Newline Violation: Files should have a single trailing newline. (trailing_newline)
Content type
Image
Digest
Size
605.2 MB
Last updated
over 7 years ago
docker pull dantoml/swiftlint