Provides elm-review
rules to simplify elm-codegen code.
Codegen.Simplify
- Reports redundant uses ofElm.value
,Elm.apply
,values_
andcall_
.
module ReviewConfig exposing (config)
import Codegen.Simplify
import Review.Rule exposing (Rule)
config : List Rule
config =
[ Codegen.Simplify.rule
]
You can try the example configuration above out by running the following command:
elm-review --template miniBill/elm-review-codegen-simplify/example