You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a need to lint all of the markdown files in the repository and eliminate all of the exclusions currently in place. However, it is not clear where the markdown linting exclusions are set.
Expected Behavior
All markdown files in the repository should be linted, including those that are currently excluded from the linting process.
Actual Behavior
Markdown files in the repository are being linted, but there are exclusions in place that prevent some files from being checked. It is unclear where these exclusions are defined or how to modify them.
The text was updated successfully, but these errors were encountered:
There's also a config file .markdownlint.jsonc. Not sure that markdownlint would find a .jsonc file - I haven't tested whether this config is actually taking effect.
@eduardomr@wwahammy it looks like the culprit is that **/*.md isn't quoted in the command and is being treated as a shell glob. I would recommend either:
or even better - you only ever want to check the files that are in the repository:
git ls-files '*.md' | xargs npx markdownlint-cli
Be aware that this second option will flag Markdown errors in the vendored gems directory, which is probably a good thing, but a little noisy to begin with.
Description
There is a need to lint all of the markdown files in the repository and eliminate all of the exclusions currently in place. However, it is not clear where the markdown linting exclusions are set.
Expected Behavior
All markdown files in the repository should be linted, including those that are currently excluded from the linting process.
Actual Behavior
Markdown files in the repository are being linted, but there are exclusions in place that prevent some files from being checked. It is unclear where these exclusions are defined or how to modify them.
The text was updated successfully, but these errors were encountered: