commit | 6100d0bf6a0a30818a9508e344ea257df2574be6 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@codeconstruct.com.au> | Wed Jun 25 22:23:26 2025 +0930 |
committer | Andrew Jeffery <andrew@codeconstruct.com.au> | Wed Jun 25 22:27:34 2025 +0930 |
tree | fd1d676183a517e83f1b44cdceae6fac82f27bcd | |
parent | e91217edf290aaa84f87305f3d4ec9afc21f9dc2 [diff] [blame] |
Revert "format-code: fail on markdownlint warnings" This reverts commit e91217edf290aaa84f87305f3d4ec9afc21f9dc2. It seems prettier and markdownlint can sometimes require conflicting layouts[1][2][3][4]. Return to ignoring markdownlint until we better understand the issue. [1]: https://discord.com/channels/775381525260664832/867820390406422538/1387251528682700900 [2]: https://discord.com/channels/775381525260664832/867820390406422538/1387334519140651040 [3]: https://discord.com/channels/775381525260664832/867820390406422538/1387367751835848777 [4]: https://discord.com/channels/775381525260664832/778790638563885086/1387359922307600445 Change-Id: I0358494b492130a26115a3d958955f9c47784c77 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/scripts/format-code.sh b/scripts/format-code.sh index f49a027..5598f13 100755 --- a/scripts/format-code.sh +++ b/scripts/format-code.sh
@@ -255,7 +255,9 @@ LINTER_IGNORE+=([markdownlint]=".markdownlint-ignore") LINTER_TYPES+=([markdownlint]="markdown") function do_markdownlint() { - markdownlint --config "${LINTER_CONFIG[markdownlint]}" -- "$@" + markdownlint --config "${LINTER_CONFIG[markdownlint]}" -- "$@" || \ + echo -e " ${YELLOW}Failed markdownlint; temporarily ignoring." + # We disable line-length because prettier should handle prose wrap for us. } LINTER_REQUIRE+=([meson]="meson;meson.build")