Update SwiftLint to version 0.45.x (#522)

* Use SwiftLint version 0.45.x
* Enable SwiftLint rule 'self_in_property_initialization' and handle all violations
This commit is contained in:
Danny Moesch 2021-12-27 23:58:02 +01:00 committed by GitHub
parent afe0397dcf
commit aad23582f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

View file

@ -17,7 +17,7 @@ class AdvancedSettingsTableViewController: UITableViewController {
@IBOutlet var discardChangesTableViewCell: UITableViewCell!
let passwordStore = PasswordStore.shared
let encryptInASCIIArmoredSwitch: UISwitch = {
private lazy var encryptInASCIIArmoredSwitch: UISwitch = {
let uiSwitch = UISwitch()
uiSwitch.onTintColor = Colors.systemBlue
uiSwitch.sizeToFit()