Add rule to remove redundant Equatable implementations

This commit is contained in:
Cal Stephens
2024-09-25 15:54:29 -07:00
committed by Cal Stephens
parent 46b3afc372
commit d2ea346884
15 changed files with 1076 additions and 61 deletions
+6
View File
@@ -1247,6 +1247,12 @@ struct _Descriptors {
help: "Sort SwiftUI props: none, alphabetize, first-appearance-sort",
keyPath: \.swiftUIPropertiesSortMode
)
let equatableMacroInfo = OptionDescriptor(
argumentName: "equatablemacro",
displayName: "The name and module of an Equatable conformance macro",
help: "For example: \"@Equatable,EquatableMacroLib\"",
keyPath: \.equatableMacroInfo
)
// MARK: - Internal