Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 543 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 543 Bytes

SwiftLint Plugins

SwiftLint package build plugin.

Usage:

// swift-tools-version: 5.6

import PackageDescription

let package = Package(
    name: "MyPackage",
    // ...
    dependencies: [
        .package(url: "https://github.com/juozasvalancius/SwiftLintPlugins", branch: "main"),
        // ...
    ],
    targets: [
        .target(
            name: "MyPackage",
            plugins: [ .plugin(name: "SwiftLint", package: "SwiftLintPlugins") ]
        ),
        // ...
    ]
)