diff --git a/.swiftlint.yml b/.swiftlint.yml index bf68de16..1bbdd813 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -3,7 +3,18 @@ excluded: disabled_rules: - opening_brace - empty_parentheses_with_trailing_closure + - function_body_length + - line_length + - cyclomatic_complexity + - large_tuple # Rule-specific config trailing_comma: mandatory_comma: true +force_try: + severity: warning +force_cast: + severity: warning +identifier_name: + min_length: + warning: 2 diff --git a/Tests/SUUnarchiverTest.swift b/Tests/SUUnarchiverTest.swift index c198c523..37c85870 100644 --- a/Tests/SUUnarchiverTest.swift +++ b/Tests/SUUnarchiverTest.swift @@ -47,6 +47,7 @@ class SUUnarchiverTest: XCTestCase }, progressBlock: nil) } + // swiftlint:disable function_parameter_count func unarchiveTestSuccessAppWithExtension(_ archiveExtension: String, appName: String, tempDirectoryURL: URL, tempArchiveURL: URL, archiveResourceURL: URL, password: String?, testExpectation: XCTestExpectation) { let fileManager = FileManager.default diff --git a/generate_appcast/ArchiveItem.swift b/generate_appcast/ArchiveItem.swift index f86ce470..ba7726f3 100644 --- a/generate_appcast/ArchiveItem.swift +++ b/generate_appcast/ArchiveItem.swift @@ -34,6 +34,7 @@ class DeltaUpdate { class ArchiveItem: CustomStringConvertible { let version: String + // swiftlint:disable identifier_name let _shortVersion: String? let minimumSystemVersion: String let archivePath: URL