fysiweb/elm-review-sorted/1.0.2

NOTE: the latest version is 1.0.3

NoUnsortedConstructors

rule : Rule

Reports...

config =
    [ NoUnsortedConstructors.rule
    ]

Fail

data Foo = Baz | Bar | Quux

Success

data Foo = Bar | Baz | Quux

When (not) to enable this rule

This rule is useful when you want to enforce sorting type constructors. THis rule is not useful when you don't.