elasticpath / textlint-rule-no-dead-relative-link

This is a textlint rule that validates links in markdown documents
MIT License
1 stars 4 forks source link

Absolute link should be ignored #9

Open parkas2018 opened 4 years ago

parkas2018 commented 4 years ago

I'm using version 1.0.2 and using the following configuration.

    "no-dead-relative-link": {
      "resolve-as-markdown": "[.html]"
    }

I have snippets of markdown that looks like below where I have a link that is not "external" but it's not relative either. It's an absolute link for the site.

For the latest compatibility matrix, see the [Compatibility Matrix](/path/to/compatibility.html).

This is being reported as invalid link because the linter is looking for a corresponding compatibility.md file because of my existing configuration. Should this be ignored since it's technically an "absolute" link.