Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.12 KB

swiftlint.md

File metadata and controls

47 lines (33 loc) · 1.12 KB
description title layout
swiftlint is a linter for Swift
Trunk | How to run swiftlint
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

swiftlint

swiftlint is a linter for Swift.

You can enable the swiftlint linter with:

trunk check enable swiftlint

Auto Enabling

swiftlint will be auto-enabled if any of its config files are present: .swiftlint.yml, .swiftlint.yaml, .swiftlint.

Settings

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.

Links