Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

lue-bird/elm-review-links-point-to-existing-package-members

Repository files navigation

Use Docs.ReviewLinksAndSections from jfmengels/elm-review-documentation instead! It has more options, notices sections etc.

elm-review-links-point-to-existing-package-members

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.

Provided rules

Configuration

module ReviewConfig exposing (config)

import LinksPointToExistingPackageMembers
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ LinksPointToExistingPackageMembers.rule
    ]

Try it out

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