mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 04:35:23 +02:00
scripts/test.sh: add batching to markdownlint (#9469)
This commit is contained in:
parent
73e54abc7d
commit
a55e9f412d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ function run_flake8 {
|
||||||
|
|
||||||
# Default test function, ran by `npm test`.
|
# Default test function, ran by `npm test`.
|
||||||
function run_tests {
|
function run_tests {
|
||||||
markdownlint pages*/**/*.md
|
find pages* -name '*.md' -exec markdownlint {} +
|
||||||
tldr-lint ./pages
|
tldr-lint ./pages
|
||||||
for f in ./pages.*; do
|
for f in ./pages.*; do
|
||||||
tldr-lint --ignore "TLDR003,TLDR004,TLDR005,TLDR015,TLDR104" "${f}"
|
tldr-lint --ignore "TLDR003,TLDR004,TLDR005,TLDR015,TLDR104" "${f}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue