Closed k3KAW8Pnf7mkmdSMPHz27 closed 3 years ago
Also, the latest run on my fork
I have started to fix all broken links that are found but it is going to take a while and will be in a different PR.
@k3KAW8Pnf7mkmdSMPHz27 it would be awesome to have a markdown linter in this workflow (or a separate one?) too
@themightychris I'll look at adding a linter in the next couple of days (Friday most likely).
Well, expect an update on Friday,
README.md
and docs/
I added a linter with some default options, but I think there is a need to look over them, see https://github.com/k3KAW8Pnf7mkmdSMPHz27/brigade-project-index/runs/2205386468?check_suite_focus=true for latest run.
(I don't have time to look at it further today but I'll get back to it)
@themightychris I'd argue that the rules are a bit on the strict side, but they are fairly easy to disable so perhaps keep them as is and see how it works out in the long run.
I'll start updating the markdown documents.
Additionally, disabling these might be a good idea,
MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
. I don't think this actually does anything.MD034/no-bare-urls Bare URL used
. I prefer [Meaningful name](http://link)
to bare URLs, but perhaps it shouldn't be checked by the linter.I don't see any reason to keep consecutive blank lines around, I always clear those out to shut the linter up
I'd also leave the no-bare-urls rule on, bare URL's can simply be wrapped like <http://link>
to turn them into links -- full links with meaningful names are ideal but when there isn't one or the content is the URL you can just wrap URLs in angle brackets
Adds a check for broken links when .md files are changed. It should probably ignore some files, hence the draft status.