From a55e9f412d5b8c5d03c0681ee2c5df8175bda22d Mon Sep 17 00:00:00 2001 From: Krzysztof Bociurko Date: Thu, 24 Nov 2022 15:16:42 +0100 Subject: [PATCH] scripts/test.sh: add batching to markdownlint (#9469) --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index c96714c926..813aa1c17f 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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}"