elm-review rules
Review.Pattern.As.forbid: Forbid ... as ..variable.. patterns.Review.Pattern.Record.forbid: Forbid { field, ... } record patterns.Check their module documentation to find out why you might want to enable these rules.
You can try the example configuration above out by running the following command:
elm-review --template lue-bird/elm-review-pattern/examplewill run both rules. Add --rules ... to select only one.
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
]