Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.31 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.31 KB

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