scripts/test.sh: add batching to markdownlint (#9469)

This commit is contained in:
Krzysztof Bociurko
2022-11-24 15:16:42 +01:00
committed by GitHub
parent 73e54abc7d
commit a55e9f412d

View File

@@ -45,7 +45,7 @@ function run_flake8 {
# Default test function, ran by `npm test`.
function run_tests {
markdownlint pages*/**/*.md
find pages* -name '*.md' -exec markdownlint {} +
tldr-lint ./pages
for f in ./pages.*; do
tldr-lint --ignore "TLDR003,TLDR004,TLDR005,TLDR015,TLDR104" "${f}"