-
Notifications
You must be signed in to change notification settings - Fork 120
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 native globbing of files #40
Comments
Like the idea. Having the same „problem“ but found a way (guess there are more) to work around it. But yes, native support would be great and make the usage much easier for recursive executions. |
This would also enable statistic counters across multiple files: Number of errors, error percentage etc. |
Will start with this topic when #41 has been accepted. My next time slot is Friday afternoon, I hope the changes have been merged then. |
It may be worth looking at how https://github.com/igorshubovych/markdownlint-cli does it |
Sorry. Have been pretty busy the last 2 weeks and now I am 3 weeks on vacation. Will get back to this topic if nobody foreruns me. Current state: https://github.com/timmkrause/markdown-link-check/tree/feature/globs There are still a few issues (and a critical one regarding async) that needs to be fixed. I was also thinking about moving the logic into separate "analyzers" like the protocol handlers in Feel free to finish this work, otherwise I will get back to it in the mid of July. |
Hi, any news about this PR ?
Thansk a lot :) |
Think this was mostly done in #179
|
@nschonni I'd also suggest along with |
Any update on the support for native globbing? |
See also #102 |
I'd be happy to be wrong, but I don't think so. Although a very important advancement, #179 did not add the globbing support requested here at all. If I run the command @nschonni's comment implies as being supported following #179, I simply get the error we would expect if the "globstar" globbing syntax was not supported:
@nschonni do you get a different result? |
The example in the repo works on systems that have find, but not so much in a Windows world https://github.com/tcort/markdown-link-check#check-links-from-a-local-markdown-folder-recursive
Maybe use https://www.npmjs.com/package/glob to try and parse the file parameter as a file glob and iterate over it in the CLI.
The text was updated successfully, but these errors were encountered: