Provides elm-review rules to simplify Elm code.
- 🔧
Simplify- Reports when an expression can be simplified.
module ReviewConfig exposing (config)
import Review.Rule exposing (Rule)
import Simplify
config : List Rule
config =
[ Simplify.rule Simplify.defaults
]You can try the example configuration above out by running the following command:
elm-review --template jfmengels/elm-review-simplify/example