Skip to content

Commit

Permalink
Work-around markdownlinter false positives
Browse files Browse the repository at this point in the history
The markdown linter does not recognise the liquid code sections,
it sees the pipe ("|") and mis-identifies it as a broken table

We tied various ways to exclude the sections but
we have not found a way which works

For now, we ignore those rules

Co-authored-by: Jan Ainali <jan@publiccode.net>
  • Loading branch information
ericherman and Ainali committed Oct 11, 2023
1 parent 1858cee commit 4c4398f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/test-markdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@
# MD026 Trailing punctuation in header
# MD032 Lists should be surrounded by blank lines
# MD034 Bare URL used
#
bundle exec mdl -r ~MD007,~MD013,~MD029,~MD024,~MD026,~MD032,~MD034 -i -g '.'
# MD055 Table row doesn't begin/end with pipes
# MD057 Table has missing or invalid header separation

bundle exec mdl -r ~MD007,~MD013,~MD029,~MD024,~MD026,~MD032,~MD034,~MD055,~MD057 -i -g '.'

0 comments on commit 4c4398f

Please sign in to comment.