mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Relax rules a bit
This commit is contained in:
3 files changed
+13
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user