SwiftLint
SwiftLint copied to clipboard
type_contents_order_only_specified_types
Hello, im trying to allow type_contents_order rule just for ViewControllers, or disable it for Enums and Structs, because in VC it is better to have subtype declaration at top but in Enum with for example CodingKeys it is better to have subtype CodingKeys at bottom and I don't know how to do this. I think it is impossible for now. Should it be added?
@Dschee added this rule, maybe he can share his thoughts on this.
How can I use the above rules?