Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Ignore localhost #141

Closed
silesky opened this issue Jun 21, 2022 · 2 comments
Closed

[Feature request] Ignore localhost #141

silesky opened this issue Jun 21, 2022 · 2 comments
Labels
markdown-link-check Related to the underlying markdown-link-check library

Comments

@silesky
Copy link

silesky commented Jun 21, 2022

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.

@diksown
Copy link

diksown commented Jun 24, 2022

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.

@gaurav-nelson gaurav-nelson added the markdown-link-check Related to the underlying markdown-link-check library label Jun 24, 2022
@gaurav-nelson
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
markdown-link-check Related to the underlying markdown-link-check library
Projects
None yet
Development

No branches or pull requests

3 participants