rule : Review.Rule.Rule
Reports links to nonexistent package definitions or modules.
config =
[ LinksPointToExistingPackageMembers.rule
]
module A exposing (a)
b =
"b"
{-| Not [`b`](A#b).
-}
a =
"a"
Fails because b
must be exposed.
module A.And.B exposing (a, b)
b =
"b"
{-| Not [`b`](A-And-B#b).
-}
a =
"a"
You can try this rule out by running the following command:
elm-review --template lue-bird/elm-review-links-point-to-existing-package-members/example --rules LinksPointToExistingPackageMembers