Provides elm-review rules to improve your use of The Elm Architecture.
NoMissingSubscriptionsCall - Reports likely missing calls to a subscriptions function.NoRecursiveUpdate - Reports recursive calls of an update function.NoUselessSubscriptions - Reports subscriptions functions that never return a subscription.module ReviewConfig exposing (config)
import NoMissingSubscriptionsCall
import NoRecursiveUpdate
import NoUselessSubscriptions
import Review.Rule exposing (Rule)
config : List Rule
config =
[ NoMissingSubscriptionsCall.rule
, NoRecursiveUpdate.rule
, NoUselessSubscriptions.rule
]You can try the example configuration above out by running the following command:
elm-review --template jfmengels/elm-review-the-elm-architecture/example