Use Docs.ReviewLinksAndSections from jfmengels/elm-review-documentation instead! It has more options, notices sections etc.
elm-review
rules to check your links:
[Module.Special](Module-Special)
,[Module.Special.definition](Module-Special#definition)
or[Module.definition](#definition)
Reports if the linked module or definition doesn't exists in the package.
LinksPointToExistingPackageMembers
- Reports links to nonexistent package definitions or modules.
module ReviewConfig exposing (config)
import LinksPointToExistingPackageMembers
import Review.Rule exposing (Rule)
config : List Rule
config =
[ LinksPointToExistingPackageMembers.rule
]
You can try the example configuration above out by running the following command:
elm-review --template lue-bird/elm-review-links-point-to-existing-package-members/example