Checks that the order of modifiers conforms to the standards.

Configuration

{
    "type": "ModifierOrder",
    "props": {
        "severity": "WARNING",
        "modifiers": [
            "MACRO",
            "OVERRIDE",
            "PUBLIC_PRIVATE",
            "STATIC",
            "INLINE",
            "DYNAMIC"
        ]
    }
}

Valid

public static inline var COUNT:Int = 1;
override public function close() {}

Invalid

inline public static var COUNT:Int = 1;
public override function close() {}