Browse Source

fix lint errors

B. Petersen 5 years ago
parent
commit
476b99f262
2 changed files with 1 additions and 6 deletions
  1. 1 4
      .swiftlint.yml
  2. 0 2
      deltachat-ios/Helper/Constants.swift

+ 1 - 4
.swiftlint.yml

@@ -7,6 +7,7 @@ disabled_rules:
 - large_tuple
 - todo
 - trailing_whitespace
+- type_body_length
 
 excluded:
 - Carthage
@@ -40,10 +41,6 @@ function_parameter_count:
   warning: 6
   error: 8
 
-type_body_length:
-  warning: 600
-  error: 800
-
 file_length:
   warning: 1000
   error: 1500

+ 0 - 2
deltachat-ios/Helper/Constants.swift

@@ -11,8 +11,6 @@ struct Constants {
         static let deltachatImapPasswordKey = "__DELTACHAT_IMAP_PASSWORD_KEY__"
     }
 
-
-
     static let defaultShadow = UIImage(color: UIColor(hexString: "ff2b82"), size: CGSize(width: 1, height: 1))
     static let onlineShadow = UIImage(color: UIColor(hexString: "3ed67e"), size: CGSize(width: 1, height: 1))