Forbid the use of dependencies that are never used in your project.
rule : Review.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
]
You can try this rule out by running the following command:
elm-review --template jfmengels/elm-review-unused/example --rules NoUnused.Dependencies