Skip to content

sparksp/elm-review-ports

Repository files navigation

elm-review-ports

elm package elm-review 2.6 elm 0.19 Tests

Provides elm-review rules to detect errant elm ports.

Provided rules

Configuration

import NoDuplicatePorts
import NoUnsafePorts
import NoUnusedPorts
import Review.Rule exposing (Rule)


config : List Rule
config =
    [ NoDuplicatePorts.rule
    , NoUnsafePorts.rule NoUnsafePorts.any
    , NoUnusedPorts.rule
    ]

Try it out

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

elm-review --template sparksp/elm-review-ports/example