realm/SwiftLint

Adding a TypeContent case of `type_contents_order`

Open

#5.461 geöffnet am 7. Feb. 2024

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (2.295 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (19.570 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16T 3h) (37 gemergte PRs in 30 T)

Beschreibung

Currently the TypeContent of type_contents_order is:

enum TypeContent: String {
    case `case` = "case"
    case typeAlias = "type_alias"
    case associatedType = "associated_type"
    case subtype = "subtype"
    case typeProperty = "type_property"
    case instanceProperty = "instance_property"
    case ibOutlet = "ib_outlet"
    case ibInspectable = "ib_inspectable"
    case initializer = "initializer"
    case typeMethod = "type_method"
    case viewLifeCycleMethod = "view_life_cycle_method"
    case ibAction = "ib_action"
    case otherMethod = "other_method"
    case `subscript` = "subscript"
    case deinitializer = "deinitializer"
}

It distinguishes between ib_outlet and instance_property, ib_action and other_method.

Would it be nice to have ib_segue_action as a case?

Contributor Guide