package.json: lint all pages with markdownlint

italian
Marco Bonelli 2019-05-04 19:31:22 +02:00 committed by Marco Bonelli
parent aa34bdd68b
commit 9efca65921
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@
"husky": "^2.2.0"
},
"scripts": {
"lint-markdown": "markdownlint pages/**/*.md",
"lint-markdown": "markdownlint pages*/**/*.md",
"lint-tldr": "tldr-lint ./pages",
"test": "bash -c 'markdownlint pages/ && tldr-lint ./pages 2>&1 | tee test_result; test ${PIPESTATUS[0]} -eq 0'",
"test": "bash -c 'markdownlint pages*/**/*.md && tldr-lint ./pages 2>&1 | tee test_result; test ${PIPESTATUS[0]} -eq 0'",
"build-index": "node ./scripts/build-index.js | tee pages/index.json > index.json"
},
"husky": {