From 1ff97ffd952db87962858bfaa419ab960394916e Mon Sep 17 00:00:00 2001 From: Matt Ricketson Date: Wed, 18 Feb 2026 13:56:57 -0800 Subject: [PATCH] Remove SwiftLintPlugin dependency (#1) * Remove SwiftLintPlugin dependency SwiftLint is only used as a build plugin for linting, not as a functional dependency. Its presence causes Xcode to prompt users with a security dialog to enable the plugin, which is disruptive for downstream consumers. Co-Authored-By: Claude Opus 4.6 * Update Package.resolved to remove SwiftLintPlugin Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.6 --- Package.resolved | 9 --------- Package.swift | 11 ----------- 2 files changed, 20 deletions(-) diff --git a/Package.resolved b/Package.resolved index 9750d78cb..702f5999e 100644 --- a/Package.resolved +++ b/Package.resolved @@ -18,15 +18,6 @@ "version" : "1.1.3" } }, - { - "identity" : "swiftlintplugin", - "kind" : "remoteSourceControl", - "location" : "https://github.com/lukepistrol/SwiftLintPlugin", - "state" : { - "revision" : "5a65f4074975f811da666dfe31a19850950b1ea4", - "version" : "0.56.2" - } - }, { "identity" : "textstory", "kind" : "remoteSourceControl", diff --git a/Package.swift b/Package.swift index 92feef60c..7d4306fe1 100644 --- a/Package.swift +++ b/Package.swift @@ -23,11 +23,6 @@ let package = Package( .package( url: "https://github.com/apple/swift-collections.git", .upToNextMajor(from: "1.0.0") - ), - // SwiftLint - .package( - url: "https://github.com/lukepistrol/SwiftLintPlugin", - from: "0.52.2" ) ], targets: [ @@ -38,9 +33,6 @@ let package = Package( "TextStory", .product(name: "Collections", package: "swift-collections"), "CodeEditTextViewObjC" - ], - plugins: [ - .plugin(name: "SwiftLint", package: "SwiftLintPlugin") ] ), @@ -55,9 +47,6 @@ let package = Package( name: "CodeEditTextViewTests", dependencies: [ "CodeEditTextView" - ], - plugins: [ - .plugin(name: "SwiftLint", package: "SwiftLintPlugin") ] ), ]