aloisdg / awesome-regex

A curated collection of awesome Regex libraries, tools, frameworks and software
Creative Commons Zero v1.0 Universal
1.64k stars 167 forks source link

Lint Markdown using `avto-dev/markdown-lint` action #68

Closed vladimyr closed 4 years ago

vladimyr commented 4 years ago

Using Github's actions to run https://github.com/DavidAnson/markdownlint through https://github.com/avto-dev/markdown-lint on every push/PR. 🎉

vladimyr commented 4 years ago

From what I'm seeing, it does(not) check for the line length?

Well, that is what I disabled because default line length cap is 80 chars. Other rules are described here: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md and there is nice playground available online at https://dlaa.me/markdownlint/

Varunram commented 4 years ago

Thanks for the link - From what I see, MD11, MD12, MD18, MD19, MD23, MD26, MD34, MD42 could be useful as well. Will wait for others to chip in with their ideas, and the need for a linting tool.

vladimyr commented 4 years ago

From what I see, MD11, MD12, MD18, MD19, MD23, MD26, MD34, MD42 could be useful as well.

They are all turned on by default 😉 Basically only check that fails is line-length, everything else is green.

Sure, TBH I just needed some material to experiment with Github actions and https://github.com/nektos/act Hope others find it useful if not it was a fun adventure anyway.