From a6694d408bc2b60fd3fc9bbc23544c66fcc2f4f1 Mon Sep 17 00:00:00 2001 From: Andrew Montgomery Date: Mon, 28 Oct 2024 12:12:24 -0500 Subject: [PATCH 1/3] Remove dependency declaration --- Package.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Package.swift b/Package.swift index 151bb18b..730ba3bb 100644 --- a/Package.swift +++ b/Package.swift @@ -25,7 +25,6 @@ let package = Package( dependencies: [ .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.54.5"), .package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.17.6"), - .package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", exact: "0.56.2"), ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. From 61e3d6eaa9893b6b224f9d43c9912eaf096a760c Mon Sep 17 00:00:00 2001 From: Andrew Montgomery Date: Mon, 28 Oct 2024 12:12:48 -0500 Subject: [PATCH 2/3] Update Package.resolved files --- .../xcshareddata/swiftpm/Package.resolved | 11 +---------- Package.resolved | 17 ++++------------- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/Demo/Gravatar-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Demo/Gravatar-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index f328c85b..70fb74ab 100644 --- a/Demo/Gravatar-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Demo/Gravatar-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "cab169a94a31c97f09372f18f0273c26fba840650a7554746fd8b84545e30262", + "originHash" : "dddfee60d726ac68a5cd796dea6619c69dcce5cc55b1b6d7d75bb308b96243a1", "pins" : [ { "identity" : "swift-snapshot-testing", @@ -27,15 +27,6 @@ "revision" : "86ed20990585f478c0daf309af645c2a528b59d8", "version" : "0.54.6" } - }, - { - "identity" : "swiftlintplugins", - "kind" : "remoteSourceControl", - "location" : "https://github.com/SimplyDanny/SwiftLintPlugins", - "state" : { - "revision" : "6c3d6c32a37224179dc290f21e03d1238f3d963b", - "version" : "0.56.2" - } } ], "version" : 3 diff --git a/Package.resolved b/Package.resolved index be2eff3f..980268c5 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,19 +1,19 @@ { - "originHash" : "90e777ed5b0907a1af52392e32f74661a3874ff8582593fea55eaa7c7d9580c3", + "originHash" : "dddfee60d726ac68a5cd796dea6619c69dcce5cc55b1b6d7d75bb308b96243a1", "pins" : [ { "identity" : "swift-snapshot-testing", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-snapshot-testing.git", "state" : { - "revision" : "5b0c434778f2c1a4c9b5ebdb8682b28e84dd69bd", - "version" : "1.15.4" + "revision" : "42a086182681cf661f5c47c9b7dc3931de18c6d7", + "version" : "1.17.6" } }, { "identity" : "swift-syntax", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-syntax", + "location" : "https://github.com/swiftlang/swift-syntax", "state" : { "revision" : "303e5c5c36d6a558407d364878df131c3546fad8", "version" : "510.0.2" @@ -27,15 +27,6 @@ "revision" : "ab6844edb79a7b88dc6320e6cee0a0db7674dac3", "version" : "0.54.5" } - }, - { - "identity" : "swiftlintplugins", - "kind" : "remoteSourceControl", - "location" : "https://github.com/SimplyDanny/SwiftLintPlugins", - "state" : { - "revision" : "6c3d6c32a37224179dc290f21e03d1238f3d963b", - "version" : "0.56.2" - } } ], "version" : 3 From 5ef215a34c48b4cde9296c88f1a8b7ba948e1fc7 Mon Sep 17 00:00:00 2001 From: Andrew Montgomery Date: Fri, 1 Nov 2024 11:17:06 -0500 Subject: [PATCH 3/3] Remove .swiftlint.yml --- .swiftlint.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .swiftlint.yml diff --git a/.swiftlint.yml b/.swiftlint.yml deleted file mode 100644 index f4965dfa..00000000 --- a/.swiftlint.yml +++ /dev/null @@ -1,16 +0,0 @@ -only_rules: # Rules to run - - custom_rules - -# If true, SwiftLint will treat all warnings as errors. -strict: true - -custom_rules: - no_ns_localized_string: - included: - - "Sources/.*\\.swift" - name: "No NSLocalizedString" - regex: "NSLocalizedString\\(" - match_kinds: - - identifier - message: "Use `SDKLocalizedString()` instead of `NSLocalizedString()`." - severity: error