From 560740f0c26649de47a8a1cb7e884b69adf75838 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 18 Apr 2021 10:19:18 -0400 Subject: [PATCH] chore(deps): update tldr-lint to 0.0.11 (#5754) * chore(deps): update tldr-lint to 0.0.11 Signed-off-by: Matthew Peveler * add more ignore codes * Update test.sh --- package-lock.json | 15 +++++++-------- package.json | 2 +- scripts/test.sh | 3 +++ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8dc7f1415..cf6410c50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,12 +5,11 @@ "packages": { "": { "name": "tldr-pages", - "hasInstallScript": true, "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "glob": "7.1.6", "markdownlint-cli": "0.27.1", - "tldr-lint": "~0.0.10" + "tldr-lint": "~0.0.11" }, "devDependencies": { "husky": "^6.0.0" @@ -281,9 +280,9 @@ } }, "node_modules/tldr-lint": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.10.tgz", - "integrity": "sha512-wTjuVYwzZHk6tdIo+wBRyEMTticCKywelpiafgRio2mTjKOCAjpWax2XdMSowiIVlDm6ixTx3FSwP/hr02DXrQ==", + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.11.tgz", + "integrity": "sha512-WRMcQlweUyVYtDPFxHZ1XVh96BNdZq0a3xVc9FnNQdqKtOLkJ5YFgjkPINleprCmjHRCMaUI2T7wFLCfcdZT6g==", "dependencies": { "commander": "^7.0.0" }, @@ -529,9 +528,9 @@ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" }, "tldr-lint": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.10.tgz", - "integrity": "sha512-wTjuVYwzZHk6tdIo+wBRyEMTticCKywelpiafgRio2mTjKOCAjpWax2XdMSowiIVlDm6ixTx3FSwP/hr02DXrQ==", + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.11.tgz", + "integrity": "sha512-WRMcQlweUyVYtDPFxHZ1XVh96BNdZq0a3xVc9FnNQdqKtOLkJ5YFgjkPINleprCmjHRCMaUI2T7wFLCfcdZT6g==", "requires": { "commander": "^7.0.0" }, diff --git a/package.json b/package.json index 09c841f94..090f38a4b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dependencies": { "glob": "7.1.6", "markdownlint-cli": "0.27.1", - "tldr-lint": "~0.0.10" + "tldr-lint": "~0.0.11" }, "devDependencies": { "husky": "^6.0.0" diff --git a/scripts/test.sh b/scripts/test.sh index 1b73b18d5..ce750e117 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -12,6 +12,9 @@ function run_tests { markdownlint pages*/**/*.md tldr-lint ./pages + for f in ./pages.*; do + tldr-lint --ignore "TLDR003,TLDR004,TLDR005,TLDR015,TLDR104" ${f} + done } # Special test function for GitHub Actions pull request builds.