Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.08 KB

swiftformat.md

File metadata and controls

45 lines (31 loc) · 1.08 KB
description title layout
swiftformat is a linter for Swift
Trunk | How to run swiftformat
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

swiftformat

swiftformat is a linter for Swift.

You can enable the swiftformat linter with:

trunk check enable swiftformat

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