David Anson

Results 485 comments of David Anson

I wasn't aware of that project, but it looks pretty neat! Reviewing the way they handle rules briefly, it looks like it would be possible to create a rule to...

Relevant example: https://eslint.org/docs/user-guide/configuring#disabling-rules-only-for-a-group-of-files

@cdfa, in case you are not aware, when using the VS Code extension, it will allow a config file in subdirectories as well as the root of the project. That...

Would it work to run the CLI in two separate passes? The first for *.md and the second for *.mdx (with slightly different settings)?

To inherit rules, have you looked at `extends`? https://github.com/DavidAnson/markdownlint/blob/master/README.md#optionsconfig

Cool. I’ll leave this open here for the future, but glad you’re unblocked now!

“statistics” seems more useful to me than “count“, but both should be doable here as a post-processing step on the results from linting.

Just FYI, I have added something like this to `markdownlint-cli2`: https://www.npmjs.com/package/markdownlint-cli2-formatter-summarize

Your understanding is correct: `.markdownlint.json` is for configuring rules (only). This allows it to be shared by multiple tools (like this CLI and the VS Code extension) even when those...

I’m part-way through a side project experiment that may help with this scenario. I should be in a position to share something rough in a week or so.