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

Add the equivalent of a .gitignore for domain name #119

Closed
fharper opened this issue Sep 20, 2021 · 1 comment
Closed

Add the equivalent of a .gitignore for domain name #119

fharper opened this issue Sep 20, 2021 · 1 comment
Labels
enhancement New feature or request markdown-link-check Related to the underlying markdown-link-check library

Comments

@fharper
Copy link

fharper commented Sep 20, 2021

Add the equivalent of a .gitignore for domain names. As an example, I know checking LinkedIn links with any link checker give an error 999, since you are not logged. I would like to be able to ignore all linkedin.com links in all markdowns by configuring this in a file or in the action itself. By doing that, I won't have to add the HTML comment to disable the links one by one in each file: easier, and makes cleaner markdown files.

@gaurav-nelson gaurav-nelson added enhancement New feature or request markdown-link-check Related to the underlying markdown-link-check library labels Sep 21, 2021
@fharper
Copy link
Author

fharper commented Jan 28, 2022

You can do it by using the ignorePatterns in your configuration file.:

{
	"ignorePatterns": [
		    {
			  "pattern": "^https://www.linkedin.com.*"
		    }
	]
}

@fharper fharper closed this as completed Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request markdown-link-check Related to the underlying markdown-link-check library
Projects
None yet
Development

No branches or pull requests

2 participants