Imagine you have a type like this:
type Color
= Red
| Green
| BlueAnd a definition like this:
allColors : List Color
allColors =
[ Red, Green ]This elm-review rule will report a warning because allColors does not have all the possible constructors, since it's missing the Blue variant.
Usage
After adding elm-review to your project, import this rule to
ReviewConfig.elmfile and add it to the config.Example configuration