elm-review-sorted
Provides elm-review
rules to keep case
patterns, record fields, and type
constructors sorted.
Provided rules
-
NoUnsortedConstructors
- Reports the use of unsortedcase
patterns andtype
constructors. -
NoUnsortedRecordFields
- Reports the use of unsorted record fields.
Configuration
module ReviewConfig exposing (config)
import NoUnsortedRecordFields
import NoUnsortedConstructors
import Review.Rule exposing (Rule)
config : List Rule
config =
[ NoUnsortedConstructors.rule
, NoUnsortedRecordFields.rule
]