NOTE: the latest version is 1.2.6
Report variables or types that are declared or imported but never used inside of a module.
Report variables or types that are declared or imported but never used.
🔧 Running with --fix will automatically remove all the reported errors.
--fix
config = [ NoUnused.Variables.rule ]
module A exposing (a) a n = n + 1 b = a 2
module A exposing (a) a n = n + 1
You can try this rule out by running the following command:
elm-review --template jfmengels/elm-review-unused/example --rules NoUnused.Variables
Report variables or types that are declared or imported but never used.
🔧 Running with
--fixwill automatically remove all the reported errors.Fail
Success
Try it out
You can try this rule out by running the following command: