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

The rule should not report error for email address #3

Closed amimas closed 5 years ago

amimas commented 5 years ago

This rule is currently reporting email address as an invalid relative link.

Here's my markdown sample:

Send an email to [our support team](mailto:support@example.com) to request access.

This produces the following error:

  64:48  error    mailto:support@example.com is dead. (only http(s) protocols are supported)  no-dead-link

I think the rule should ignore email addresses instead of blocking it since this rule is not responsible for validating email addresses.

parthpp commented 5 years ago

This issue is not related to this rule but it is related to textlint-rule-no-dead-link and it seems to have been fixed. Please update textlint-rule-no-dead-link to release 4.4.2.