Sign inSign up

dantoml/swiftlint

By dantoml

Updated over 7 years ago

SwiftLint

Image
2

500K+

dantoml/swiftlint repository overview

docker-swiftlint

A Docker image for running swiftlint. The source can be found on GitHub here: dantoml/docker-swiftlint.

Running swiftlint on a folder

docker run --volume /full/path/to/folder:/swiftlint dantoml/swiftlint:0.25.1 lint

Running swiftlint on 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)

Tag summary

Content type

Image

Digest

Size

605.2 MB

Last updated

over 7 years ago

docker pull dantoml/swiftlint