From 0ab878e0f08a644eb28e845e6f3bea7637a285cb Mon Sep 17 00:00:00 2001 From: SwiftBeta Date: Thu, 9 Nov 2023 18:42:25 +0100 Subject: [PATCH] Disable SwiftLint --- .github/workflows/swift.yml | 6 --- .swiftlint.yml | 3 -- Package.resolved | 81 ------------------------------------- Package.swift | 4 +- 4 files changed, 2 insertions(+), 92 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 1bc0421..3ff6a1f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -16,12 +16,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install SwiftLint - run: brew install swiftlint - - - name: Run SwiftLint - run: swiftlint - - name: Build run: swift build diff --git a/.swiftlint.yml b/.swiftlint.yml index 56cbe35..929d547 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,6 +1,3 @@ -excluded: - - Tests - disabled_rules: - identifier_name - type_name diff --git a/Package.resolved b/Package.resolved index 9b3bb0c..bb40ae7 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,41 +1,5 @@ { "pins" : [ - { - "identity" : "collectionconcurrencykit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/JohnSundell/CollectionConcurrencyKit.git", - "state" : { - "revision" : "b4f23e24b5a1bff301efc5e70871083ca029ff95", - "version" : "0.2.0" - } - }, - { - "identity" : "cryptoswift", - "kind" : "remoteSourceControl", - "location" : "https://github.com/krzyzanowskim/CryptoSwift.git", - "state" : { - "revision" : "32f641cf24fc7abc1c591a2025e9f2f572648b0f", - "version" : "1.7.2" - } - }, - { - "identity" : "sourcekitten", - "kind" : "remoteSourceControl", - "location" : "https://github.com/jpsim/SourceKitten.git", - "state" : { - "revision" : "b6dc09ee51dfb0c66e042d2328c017483a1a5d56", - "version" : "0.34.1" - } - }, - { - "identity" : "swift-argument-parser", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-argument-parser.git", - "state" : { - "revision" : "8f4d2753f0e4778c76d5f05ad16c74f707390531", - "version" : "1.2.3" - } - }, { "identity" : "swift-docc-plugin", "kind" : "remoteSourceControl", @@ -53,51 +17,6 @@ "revision" : "b45d1f2ed151d057b54504d653e0da5552844e34", "version" : "1.0.0" } - }, - { - "identity" : "swift-syntax", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-syntax.git", - "state" : { - "revision" : "74203046135342e4a4a627476dd6caf8b28fe11b", - "version" : "509.0.0" - } - }, - { - "identity" : "swiftlint", - "kind" : "remoteSourceControl", - "location" : "https://github.com/realm/SwiftLint", - "state" : { - "revision" : "6d2e58271ebc14c37bf76d7c9f4082cc15bad718", - "version" : "0.53.0" - } - }, - { - "identity" : "swiftytexttable", - "kind" : "remoteSourceControl", - "location" : "https://github.com/scottrhoyt/SwiftyTextTable.git", - "state" : { - "revision" : "c6df6cf533d120716bff38f8ff9885e1ce2a4ac3", - "version" : "0.9.0" - } - }, - { - "identity" : "swxmlhash", - "kind" : "remoteSourceControl", - "location" : "https://github.com/drmohundro/SWXMLHash.git", - "state" : { - "revision" : "a853604c9e9a83ad9954c7e3d2a565273982471f", - "version" : "7.0.2" - } - }, - { - "identity" : "yams", - "kind" : "remoteSourceControl", - "location" : "https://github.com/jpsim/Yams.git", - "state" : { - "revision" : "0d9ee7ea8c4ebd4a489ad7a73d5c6cad55d6fed3", - "version" : "5.0.6" - } } ], "version" : 2 diff --git a/Package.swift b/Package.swift index eb357dd..e391cfd 100644 --- a/Package.swift +++ b/Package.swift @@ -13,13 +13,13 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.2.0"), - .package(url: "https://github.com/realm/SwiftLint", from: "0.53.0") + //.package(url: "https://github.com/realm/SwiftLint", from: "0.53.0") ], targets: [ .target( name: "SwiftOpenAI", dependencies: [], - plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]), + plugins: []), .testTarget( name: "SwiftOpenAITests", dependencies: ["SwiftOpenAI"],