| title | Trunk | How to run swiftlint |
|---|---|
| description | swiftlint is a linter for Swift |
swiftlint is a linter for Swift.
You can enable the swiftlint linter with:
trunk check enable swiftlintswiftlint will be auto-enabled if any of its config files are present: .swiftlint.yml, .swiftlint.yaml, .swiftlint.
swiftlint supports the following config files:
.swiftlint.yml.swiftlint.yaml.swiftlint
You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.
- swiftlint site
- swiftlint Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo