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

pull/1/head
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
1 changed files with 1 additions and 1 deletions

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