Elm-review unused Msg

Is there an elm-review rule to remove un-used Msg?

We recently removed a few features from our project, and the unused vars & modules have been great. However, I noticed some things remained simply because of a Msg (e.g. SignUp). Once I deleted SignUp, all the update and view related functions to it, and then types could easily be found and safely deleted. No UI component was referencing this SignUp message, and it wasn’t in subscriptions either so I can only guess there just isn’t a rule in my config for it.

If there is something for this, or something like this, anyone know the name of the package?


I think you are looking for NoUnused.CustomTypeConstructors - elm-review-unused 1.2.0


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.