mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-05-17 10:30:35 +00:00
Add rule to remove redundant Equatable implementations
This commit is contained in:
committed by
Cal Stephens
parent
46b3afc372
commit
d2ea346884
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user