Skip to content
Commit 63783ebb authored by Frank Tackitt's avatar Frank Tackitt Committed by Chris Martin
Browse files

Add elm-review rule NoUnused.CustomTypeConstructorArgs

This rule detects types where stored values are never used

```
type MyType =
    Has String
    NoVal

case val of
    Has _ -> ...
    NoVal -> ...
```

Assuming no other code uses the String, `Has` would have an unused argument.

This could be useful, but it also may lead to removing code that we later
need
parent 727fa69b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment