Provides elm-review rules to usage of Elm's "Unit" type, also known as ().
NoUmatchedUnit - Reports when a () is ignored (_) instead of being matched.module ReviewConfig exposing (config)
import NoUmatchedUnit
import Review.Rule exposing (Rule)
config : List Rule
config =
[ NoUmatchedUnit.rule
]You can try the example configuration above out by running the following command:
elm-review --template mthadley/elm-review-unit/example