Enable SwiftLint rule 'redundant_type_annotation' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 22:59:03 +02:00 committed by Mingshen Sun
parent fe380d4d65
commit b4551f83fb
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ whitelist_rules:
- redundant_optional_initialization - redundant_optional_initialization
- redundant_set_access_control - redundant_set_access_control
- redundant_string_enum_value - redundant_string_enum_value
# - redundant_type_annotation - redundant_type_annotation
- redundant_void_return - redundant_void_return
# - required_deinit # - required_deinit
- required_enum_case - required_enum_case

View file

@ -7,7 +7,7 @@
// //
public class PGPAgent { public class PGPAgent {
public static let shared: PGPAgent = PGPAgent() public static let shared = PGPAgent()
private let keyStore: KeyStore private let keyStore: KeyStore
private var pgpInterface: PGPInterface? private var pgpInterface: PGPInterface?