<div dir="auto">AFAIK GitLab specifically has a tool called “CI Lint” for validating the CI config file. But for linting the markdown files, I don’t see any other option than integrating linting into the CI flow. Maybe someone can correct me if I'm wrong.</div><div dir="auto"><br></div><div dir="auto">Also, found this <a href="https://gitlab.com/pipeline-components/markdownlint">https://gitlab.com/pipeline-components/markdownlint</a></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 11 Apr 2021 at 01:09, Jonathan Wilkes <<a href="mailto:jon.w.wilkes@gmail.com">jon.w.wilkes@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">On Sat, Apr 10, 2021 at 3:15 PM Rukshan J. Senanayaka<br>
<<a href="mailto:rjsenanayaka@gmail.com" target="_blank">rjsenanayaka@gmail.com</a>> wrote:<br>
><br>
> I'm still learning this. Maybe we can integrate <a href="https://github.com/markdownlint/markdownlint" rel="noreferrer" target="_blank">https://github.com/markdownlint/markdownlint</a> into the CI/CD flow?<br>
<br>
That's one option.<br>
<br>
However, if I make a change to `.gitlab-ci.yml` with a syntax error in<br>
it, IIRC gitlab will show me an error next to the file. If I click it,<br>
I can view the specific error or errors. That happens somehow in<br>
Gitlab itself and doesn't rely on CI at all.<br>
<br>
Is there a way to add markdown lint rules somewhere in Gitlab that<br>
have the same UX?<br>
<br>
-Jonathan<br>
<br>
><br>
> On Sat, Apr 10, 2021 at 11:50 PM Jonathan Wilkes <<a href="mailto:jon.w.wilkes@gmail.com" target="_blank">jon.w.wilkes@gmail.com</a>> wrote:<br>
>><br>
>> Hi list,<br>
>><br>
>> Can someone figure out for me how to make an automated markdown linter<br>
>> in Gitlab that enforces an 80-character line-width rule for README.md<br>
>> (and all other *.md for that matter)?<br>
>><br>
>> I just pushed changes to the README.md that get it back to the<br>
>> 80-character line-width requirement that I want to enforce.<br>
>><br>
>> People make changes to that README.md with long paragraphs, as if they<br>
>> are writing an email like this one and just letting the editor auto<br>
>> wrap the lines.<br>
>><br>
>> The problem with that is when someone makes a simple diff-- like<br>
>> changing "foobar" to "foo-bar", the diff will show the *entire*<br>
>> paragraph. Then I must fish around to figure out what exactly the<br>
>> change was in that sea of text.<br>
>><br>
>> Anyway, I want Gitlab to bark at people when they exceed that limit.<br>
>><br>
>> Best,<br>
>> Jonathan<br>
>> _______________________________________________<br>
>> L2Ork-dev mailing list<br>
>> <a href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank">L2Ork-dev@disis.music.vt.edu</a><br>
>> <a href="https://disis.music.vt.edu/listinfo/l2ork-dev" rel="noreferrer" target="_blank">https://disis.music.vt.edu/listinfo/l2ork-dev</a><br>
><br>
> _______________________________________________<br>
> L2Ork-dev mailing list<br>
> <a href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank">L2Ork-dev@disis.music.vt.edu</a><br>
> <a href="https://disis.music.vt.edu/listinfo/l2ork-dev" rel="noreferrer" target="_blank">https://disis.music.vt.edu/listinfo/l2ork-dev</a><br>
_______________________________________________<br>
L2Ork-dev mailing list<br>
<a href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank">L2Ork-dev@disis.music.vt.edu</a><br>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev" rel="noreferrer" target="_blank">https://disis.music.vt.edu/listinfo/l2ork-dev</a></blockquote></div></div>