Skip to content

Commit

Permalink
Fix operator whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
levieggertcru committed Jul 15, 2024
1 parent 84d038e commit 4d909de
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ opt_in_rules: # some rules are turned off by default, so you need to opt-in
# - no_magic_numbers #Disabling for now as this touches many files.
# - one_declaration_per_file #SwiftUI Preview breaks this, may need to update preview to use macros.
- operator_usage_whitespace
- prefer_self_in_static_references
# - prefer_self_in_static_references #Disabling for now as touches many files.
- prefer_self_type_over_type_of_self
- private_action
- private_outlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct ToolDomainModel: ToolListItemDomainModelInterface {
}

extension ToolDomainModel: Equatable {
static func ==(this: ToolDomainModel, that: ToolDomainModel) -> Bool {
static func == (this: ToolDomainModel, that: ToolDomainModel) -> Bool {
return this.dataModelId == that.dataModelId
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension ShareableDomainModel: Identifiable {
}

extension ShareableDomainModel: Equatable {
static func ==(this: ShareableDomainModel, that: ShareableDomainModel) -> Bool {
static func == (this: ShareableDomainModel, that: ShareableDomainModel) -> Bool {
return this.dataModelId == that.dataModelId
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extension ToolSettingsToolLanguageDomainModel: Identifiable {
}

extension ToolSettingsToolLanguageDomainModel: Equatable {
static func ==(this: ToolSettingsToolLanguageDomainModel, that: ToolSettingsToolLanguageDomainModel) -> Bool {
static func == (this: ToolSettingsToolLanguageDomainModel, that: ToolSettingsToolLanguageDomainModel) -> Bool {
return this.dataModelId == that.dataModelId
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct CategoryArticleUUID {
}

extension CategoryArticleUUID: Equatable {
static func ==(this: CategoryArticleUUID, that: CategoryArticleUUID) -> Bool {
static func == (this: CategoryArticleUUID, that: CategoryArticleUUID) -> Bool {
return this.uuidString == that.uuidString
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct LanguageModel: LanguageModelType, Codable {
}

extension LanguageModel: Equatable {
static func ==(this: LanguageModel, that: LanguageModel) -> Bool {
static func == (this: LanguageModel, that: LanguageModel) -> Bool {
return this.id == that.id
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct ResourceModel: ResourceModelType, Decodable, Identifiable {
}

extension ResourceModel: Equatable {
static func ==(this: ResourceModel, that: ResourceModel) -> Bool {
static func == (this: ResourceModel, that: ResourceModel) -> Bool {
return this.id == that.id
}
}
Expand Down

0 comments on commit 4d909de

Please sign in to comment.