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