jfmengels/elm-review-unused/1.1.20

NOTE: the latest version is 1.2.6

NoUnused.Exports

Forbid the use of exposed elements that are never used in your project.

rule : Rule

Report functions and types that are exposed from a module but that are never used in other modules.

🔧 Running with --fix will automatically remove all the reported errors.

If the project is a package and the module that declared the element is exposed, then nothing will be reported.

config =
    [ NoUnused.Exports.rule
    ]

Try it out

You can try this rule out by running the following command:

elm-review --template jfmengels/elm-review-unused/example --rules NoUnused.Exports