Skip to content

miniBill/elm-review-codegen-simplify

Repository files navigation

elm-review-codegen-simplify

Provides elm-review rules to simplify elm-codegen code.

Provided rules

  • Codegen.Simplify - Reports redundant uses of Elm.value, Elm.apply, values_ and call_.

Configuration

module ReviewConfig exposing (config)

import Codegen.Simplify
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ Codegen.Simplify.rule
    ]

Try it out

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

elm-review --template miniBill/elm-review-codegen-simplify/example