Skip to content

mthadley/elm-review-unit

Repository files navigation

elm-review-unit

Provides elm-review rules to usage of Elm's "Unit" type, also known as ().

Provided rules

Configuration

module ReviewConfig exposing (config)

import NoUnmatchedUnit
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoUnmatchedUnit.rule
    ]

Try it out

You can try the example configuration above out by running the following command:

elm-review --template mthadley/elm-review-unit/example