jfmengels/review-unused/1.0.4

NOTE: the latest version is 2.1.5

review-unused

Provides elm-review rules to detect unused functions and types in your Elm files.

Provided rules

Note

Since elm-review only works in the scope of a single file, these rules will not report elements that are exposed but not used anywhere in the project. If you wish those to be reported, check out elm-xref.

Example configuration

module ReviewConfig exposing (config)

import NoUnused.CustomTypeConstructors
import NoUnused.Variables
import Review.Rule exposing (Rule)


config : List Rule
config =
    [ NoUnused.Variables.rule
    , NoUnused.CustomTypeConstructors.rule
    ]