Provides elm-review
rules to detect missing type constructors. Shamefully stolen from this gist.
NoMissingTypeConstructor
- Reports missing type constructors.
module ReviewConfig exposing (config)
import NoMissingTypeConstructor
import Review.Rule exposing (Rule)
config : List Rule
config =
[ NoMissingTypeConstructor.rule
]
You can try the example configuration above out by running the following command:
elm-review --template Arkham/elm-review-no-missing-type-constructor/example