gaurav-nelson/github-action-markdown-link-check

[Feature request] Ignore localhost

silesky opened this issue · 2 comments

Ignore all URLs that include:

localhost
127.0.0.1

I can potentially create a PR if this suggestion is accepted.

Thank you all for your work on this project.

I had a problem with a project, but a workaround is just to set up a config file as a custom variable.

Put this on your custom config file:

{
  "ignorePatterns": [
    {
      "pattern": "^http://localhost.*"
    },
  ]
}

You can also add a pattern to ignore the 127.0.0.1 as well.

Thank you @diksown for chiming in. This is how Markdown link check handles ignores, I don't think this behaviour will change. Closing this issue.