swiftformat
swiftformat is a linter for Swift.
You can enable the swiftformat linter with:
Auto Enabling
swiftformat will be auto-enabled if a .swiftformat
config file is present.
Settings
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.
Links
swiftformat Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo
Last updated