Relax rules a bit

This commit is contained in:
Rajiv Shah committed 2020-05-25 17:26:38 -04:00
1 parent 9c13919fd8
commit e9ab9d09a5
3 files changed
+13

No files matched your search

+11
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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