jfmengels/elm-review-unused/1.2.2

NOTE: the latest version is 1.2.6

NoUnused.Dependencies

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

rule : Rule

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

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

A dependency is considered unused if none of its modules are imported in the project.

config =
    [ NoUnused.Dependencies.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.Dependencies