blob: 1a6bd6ff62cc222b3d066170ef52223918ce5243 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/realm/SwiftLint",
description = "A tool to enforce Swift style and conventions.",
},
command = "swiftlint",
stdin = true,
args = { "lint", "--use-stdin", "--fix", "--format" },
cwd = require("conform.util").root_file({ ".swiftlint.yml", "Package.swift" }),
}
|