markdownlint-cli
markdownlint-cli copied to clipboard
add `--verbose` flag
--verbose flag can be used to ensure linter is actually parsing the files when using globs or for general debugging.
PS: ~~I couldn’t think of a simple solution to logs the relevant messages after each file’s name.~~
The failing test (failing to parse error message on windows) seems to be unrelated to this PR. It is the same issue which is blocking the dependabot.
I think I also fixed the path issue on windows!
Do you mind applying that test path fix to the pending Dependabot PR? It should pass after that and I'll accept the PR.
Appreciate the tests, BTW!
Looks good - tho I can't merge it because it's a Draft PR?
Looks good - tho I can't merge it because it's a Draft PR?
Thanks for your quick feedback and helps. I'm trying an idea (and simultaneously learning a bit of JS). I'll finalize this in a couple of days.
I'm not sure there's a lot of room to improve upon what you have here, but I will keep an open mind until I see what you're up to. :)
@DavidAnson Thanks for keeping an open mind. 😄I hope you are not allergic to bad JS codes!
Now the --verbose flag:
- logs version
- logs the list of the files given to the linter and the list of files reported back separately
- respects
--quietand--output
As you already know, I’m not familiar with idiomatic JS. I’ll appreciate if you can guide me to improve this PR.