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