Forbid the use of dependencies that are never used in your project.
🔧 Running with --fix will automatically remove all the reported errors.
--fix
A dependency is considered unused if none of its modules are imported in the project.
config = [ NoUnused.Dependencies.rule ]
You can try this rule out by running the following command:
elm-review --template jfmengels/elm-review-unused/example --rules NoUnused.Dependencies
Forbid the use of dependencies that are never used in your project.
🔧 Running with
--fixwill automatically remove all the reported errors.A dependency is considered unused if none of its modules are imported in the project.
Try it out
You can try this rule out by running the following command: