Open karlhorky opened 1 month ago
Hi @karlhorky, thanks for the kind words!
Good point, it seems that a Markdown formatter may make a lot of sense, and it would solve several cases that are currently handled through custom rules/formatters.
At the moment I do not have the resources to implement additional features into this plugin, but I will come back to this issue in the future as it does seem like a sound idea. :)
Hi @lasselupe33 - first of all, thanks for your effort creating and maintaining this ESLint plugin! Great to have more energy being put into tooling that hard wraps comments 🙌
I have been using the Rewrap VS Code extension (GitHub, docs), which offers many wrapping features.
One that may be interesting for
eslint-plugin-comment-length
is the ability to treat comments as Markdown, and wrap / format accordingly:Note that:
```
before and after (which I believe thateslint-plugin-comment-length
already supports)