Provides elm-review rules to report performance problems.
NoUnoptimizedRecursion - Reports recursive functions that are not tail-call optimized.module ReviewConfig exposing (config)
import NoUnoptimizedRecursion
import Review.Rule exposing (Rule)
config : List Rule
config =
[ NoUnoptimizedRecursion.rule (NoUnoptimizedRecursion.optOutWithComment "IGNORE TCO")
]You can try the example configuration above out by running the following command:
elm-review --template jfmengels/elm-review-performance/example