mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 20:42:23 +03:00
scripts/test.sh: add batching to markdownlint (#9469)
This commit is contained in:
parent
73e54abc7d
commit
a55e9f412d
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user