NOTE: the latest version is 1.0.3
Reports...
config = [ NoUnsortedRecordFields.rule ]
type alias Foo = { b : Int, a : Int } foo : Foo foo = { b = 1, a = 2 }
type alias Foo = { a : Int, b : Int } foo : Foo foo = { a = 2, b = 1 }
This rule is useful when you want to enforce sorting in record fields. THis rule is not useful when you don't.
Reports...
Fail
Success
When (not) to enable this rule
This rule is useful when you want to enforce sorting in record fields. THis rule is not useful when you don't.