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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"