lue-bird/elm-review-pattern/1.0.0

NOTE: the latest version is 1.0.3

elm-review-pattern

elm-review rules

Check their module documentation to find out why you might want to enable these rules.

try

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

elm-review --template lue-bird/elm-review-pattern/example

will run both rules. Add --rules ... to select only one.

configure

module ReviewConfig exposing (config)

import Review.Pattern.As
import Review.Pattern.Record
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ Review.Pattern.Record.forbid
    , Review.Pattern.As.forbid
    ]