Enable SwiftLint rule 'convenience_type' and fix all violations
This commit is contained in:
parent
7d79314bae
commit
2e6cf69b03
5 changed files with 7 additions and 7 deletions
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
// This file contains constants from https://github.com/agilebits/onepassword-app-extension/
|
||||
|
||||
class OnePasswordExtensionActions {
|
||||
enum OnePasswordExtensionActions {
|
||||
static let findLogin = "org.appextension.find-login-action"
|
||||
static let saveLogin = "org.appextension.save-login-action"
|
||||
static let changePassword = "org.appextension.change-password-action"
|
||||
|
|
@ -15,7 +15,7 @@ class OnePasswordExtensionActions {
|
|||
static let fillBrowser = "org.appextension.fill-browser-action"
|
||||
}
|
||||
|
||||
class OnePasswordExtensionKey {
|
||||
enum OnePasswordExtensionKey {
|
||||
// Login Dictionary keys - Used to get or set the properties of a 1Password Login
|
||||
static let URLStringKey = "url_string"
|
||||
static let usernameKey = "username"
|
||||
|
|
@ -38,7 +38,7 @@ class OnePasswordExtensionKey {
|
|||
}
|
||||
|
||||
// Errors codes
|
||||
class OnePasswordExtensionError {
|
||||
enum OnePasswordExtensionError {
|
||||
static let errorDomain = "OnePasswordExtension"
|
||||
static let errorCodeCancelledByUser = 0
|
||||
static let errorCodeAPINotAvailable = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue