David Anson

Results 474 comments of David Anson

The `console.log` and `RegExp` examples are almost twice as long after adding `String.raw` - and the first/most important parameter to both functions is partially obscured because it's prefixed by `String.raw`.

The current behavior of ClI2 is deliberate. In my mind, the "js" extension should no longer be used because it is ambiguous. That said, I am curious if the behavior...

The point is that you (or an editor) cannot tell from looking at JS extension what type of file it is. What's more, copying that file from one project to...

I already do not support JSON and YML extensions for the new options file format (preferring JSONC and YAML) for simplicity and I think this is similar. Except here there...

You need to set the "line_length" property of that rule to an integer, not assign the integer to the rule name itself. Here is an example: https://github.com/DavidAnson/markdownlint/blob/b2305efafb034b1f328845aec9928b5363ffd646/schema/.markdownlint.yaml#L63

As I recall, I based the current colors on something popular (ESLint or npm, maybe?). Rather than add config for this, I'd prefer to use a single/fixed color palette that...

`markdownlint-cli2-formatter-pretty` version `0.0.6` uses yellow instead of gray for better contrast.

Thank you for reporting this! It looks like an issue with the micromark parsing library. I've opened an issue for them here: .

I've made a PR to the micromark-extension-directive project which should prevent this crash once merged, released, and incorporated: https://github.com/micromark/micromark-extension-directive/pull/27