-
-
Notifications
You must be signed in to change notification settings - Fork 0
Linter based on rehype #1
Comments
Yes, that would be super! I started work on it a while ago, but was never able to finish it, as HTML has so many things to check for! 😬 |
@wooorm maybe there's a reason to start with reimplementing rules from existing linters, like htmlhint? |
Definitely! I invited you to my private, not-really-working, initial work, maybe you’re into setting something up? I also have some newer code, with just some aria rules, that may be easier to convert to something, but it’s only on my computer 😬 Oh, and for inspiration: |
I'll try to take a look at it! |
On a related note, I created selective lint using a similar tech stack, rehype-parse, unified lint rule and unified message control. But the marker message control code could be used for a more generic linter. https://github.com/ChristianMurphy/selective/blob/master/%40selective/marker/marker.js |
Not yet released but here’s a little bit! https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse#optionsemitparseerrors |
Thanks for starting the discussion @denysdovhan! |
remark-lint
is awesome! Let's make the same thing for rehype!The text was updated successfully, but these errors were encountered: