Use SwiftLint version 0.43.x
This commit is contained in:
parent
ac3d246b81
commit
3f75591484
5 changed files with 8 additions and 4 deletions
|
|
@ -13,6 +13,7 @@ only_rules:
|
|||
- anyobject_protocol
|
||||
- array_init
|
||||
- attributes
|
||||
# - balanced_xctest_lifecycle
|
||||
- block_based_kvo
|
||||
- class_delegate_protocol
|
||||
- closing_brace
|
||||
|
|
@ -36,6 +37,7 @@ only_rules:
|
|||
- cyclomatic_complexity
|
||||
- deployment_target
|
||||
- discarded_notification_center_observer
|
||||
- discouraged_assert
|
||||
- discouraged_direct_init
|
||||
# - discouraged_object_literal
|
||||
- discouraged_optional_boolean
|
||||
|
|
@ -90,6 +92,7 @@ only_rules:
|
|||
- large_tuple
|
||||
- last_where
|
||||
- leading_whitespace
|
||||
# - legacy_objc_type
|
||||
- legacy_cggeometry_functions
|
||||
- legacy_constant
|
||||
- legacy_constructor
|
||||
|
|
@ -137,6 +140,7 @@ only_rules:
|
|||
- private_action
|
||||
# - private_outlet
|
||||
- private_over_fileprivate
|
||||
- private_subject
|
||||
- private_unit_test
|
||||
# - prohibited_interface_builder
|
||||
# - prohibited_super_call
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class PasswordsTableDataSource: NSObject, UITableViewDataSource {
|
|||
var suggestedPasswordsTableEntries: [PasswordTableEntry]
|
||||
var otherPasswordsTableEntries: [PasswordTableEntry]
|
||||
|
||||
var showSuggestion: Bool = false
|
||||
var showSuggestion = false
|
||||
|
||||
init(entries: [PasswordTableEntry] = []) {
|
||||
self.passwordTableEntries = entries
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ open class PasscodeLockViewController: UIViewController, UITextFieldDelegate {
|
|||
weak var forgotPasscodeButton: UIButton?
|
||||
open weak var cancelButton: UIButton?
|
||||
|
||||
var isCancellable: Bool = false
|
||||
var isCancellable = false
|
||||
|
||||
private let passwordStore = PasswordStore.shared
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ public class PGPAgent {
|
|||
|
||||
private let keyStore: KeyStore
|
||||
private var pgpInterface: PGPInterface?
|
||||
private var latestDecryptStatus: Bool = true
|
||||
private var latestDecryptStatus = true
|
||||
|
||||
public init(keyStore: KeyStore = AppKeychain.shared) {
|
||||
self.keyStore = keyStore
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SWIFTLINT_VERSION="0.42.*"
|
||||
SWIFTLINT_VERSION="0.43.*"
|
||||
|
||||
if [[ "${CI}" == "true" ]]; then
|
||||
echo "Running in a Continuous Integration environment. Linting is skipped."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue