Skip to content

Commit

Permalink
BIT-162: Fix swiftlint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-livefront committed Sep 15, 2023
1 parent da256f4 commit c314070
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BitwardenShared/Core/Vault/Models/Enum/PolicyType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enum PolicyType: Int, Codable {
case twoFactorAuthentication = 0

/// Sets minimum requirements for master password complexity.
case masterPassword = 1 // swiftlint:disable:this inclusive_language
case masterPassword = 1

/// Sets minimum requirements/default type for generated passwords/passphrases.
case passwordGenerator = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extension ProfileResponseModel {
forcePasswordReset: Bool = false,
id: String = UUID().uuidString,
key: String? = nil,
masterPasswordHint: String? = nil, // swiftlint:disable:this inclusive_language
masterPasswordHint: String? = nil,
name: String? = nil,
organizations: [ProfileOrganizationResponseModel]? = nil,
premium: Bool = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct ProfileResponseModel: Codable, Equatable {
let key: String?

/// The user's master password hint.
let masterPasswordHint: String? // swiftlint:disable:this inclusive_language
let masterPasswordHint: String?

/// The user's name.
let name: String?
Expand Down

0 comments on commit c314070

Please sign in to comment.