markdown-link-check icon indicating copy to clipboard operation
markdown-link-check copied to clipboard

Ignore subpaths

Open bnb opened this issue 5 years ago • 2 comments

I have a use case where I want to check all links in the current directory except for a single path that has a lot of static markdown. It would be really nice if I could ignore/skip directories. It seems that this functionality is currently not supported outside of running against individual files and directories while excluding the one I don't want results for.

bnb avatar Aug 17 '20 23:08 bnb

I confirm that we don't have path exclusion yet. Multiple options are possible:

  • add a feature to handle an ignore file like the .gitignore one but named .markdownlinkignore that would list globs (path able to include * wildcard) to ignore.
  • a configuration with path patterns to ignore similar to the link ignore pattern configuration.

NicolasMassart avatar Sep 25 '20 15:09 NicolasMassart

This feature (ignoring some subdirectories) would be great.

We use Go vendoring, and the vendor directory contains a lot of code which I can't controll.

guettli avatar Oct 17 '23 09:10 guettli