mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-28 09:02:53 +03:00
Recommend using elm-xref in NoUnusedTypeConstructors
This commit is contained in:
parent
6486148d25
commit
a3a57e468b
@ -3,7 +3,11 @@ module Lint.Rule.NoUnusedTypeConstructors exposing (rule)
|
||||
{-| Forbid having unused custom type constructors in a file.
|
||||
|
||||
Note that this does not report a constructor if it's exposed in the module, even
|
||||
if it is not used anywhere in the project.
|
||||
if it is not used anywhere in the project. For a more accurate detection of
|
||||
unused constructors (and functions) accross your project, you might want to check
|
||||
out [elm-xref](https://github.com/zwilias/elm-xref). You may still want to use
|
||||
this rule in your config so that you get notified of unused constructors earlier
|
||||
in your editor, rather than when running your tests or [elm-xref](https://github.com/zwilias/elm-xref).
|
||||
|
||||
|
||||
## Fail
|
||||
|
Loading…
Reference in New Issue
Block a user