mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
chore(deps): update tldr-lint to 0.0.11 (#5754)
* chore(deps): update tldr-lint to 0.0.11 Signed-off-by: Matthew Peveler <matt.peveler@gmail.com> * add more ignore codes * Update test.sh
This commit is contained in:
parent
6b9e894dee
commit
560740f0c2
3 changed files with 11 additions and 9 deletions
15
package-lock.json
generated
15
package-lock.json
generated
|
@ -5,12 +5,11 @@
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "tldr-pages",
|
"name": "tldr-pages",
|
||||||
"hasInstallScript": true,
|
|
||||||
"license": "SEE LICENSE IN LICENSE.md",
|
"license": "SEE LICENSE IN LICENSE.md",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "7.1.6",
|
"glob": "7.1.6",
|
||||||
"markdownlint-cli": "0.27.1",
|
"markdownlint-cli": "0.27.1",
|
||||||
"tldr-lint": "~0.0.10"
|
"tldr-lint": "~0.0.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^6.0.0"
|
"husky": "^6.0.0"
|
||||||
|
@ -281,9 +280,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tldr-lint": {
|
"node_modules/tldr-lint": {
|
||||||
"version": "0.0.10",
|
"version": "0.0.11",
|
||||||
"resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.10.tgz",
|
"resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.11.tgz",
|
||||||
"integrity": "sha512-wTjuVYwzZHk6tdIo+wBRyEMTticCKywelpiafgRio2mTjKOCAjpWax2XdMSowiIVlDm6ixTx3FSwP/hr02DXrQ==",
|
"integrity": "sha512-WRMcQlweUyVYtDPFxHZ1XVh96BNdZq0a3xVc9FnNQdqKtOLkJ5YFgjkPINleprCmjHRCMaUI2T7wFLCfcdZT6g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commander": "^7.0.0"
|
"commander": "^7.0.0"
|
||||||
},
|
},
|
||||||
|
@ -529,9 +528,9 @@
|
||||||
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
|
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
|
||||||
},
|
},
|
||||||
"tldr-lint": {
|
"tldr-lint": {
|
||||||
"version": "0.0.10",
|
"version": "0.0.11",
|
||||||
"resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.10.tgz",
|
"resolved": "https://registry.npmjs.org/tldr-lint/-/tldr-lint-0.0.11.tgz",
|
||||||
"integrity": "sha512-wTjuVYwzZHk6tdIo+wBRyEMTticCKywelpiafgRio2mTjKOCAjpWax2XdMSowiIVlDm6ixTx3FSwP/hr02DXrQ==",
|
"integrity": "sha512-WRMcQlweUyVYtDPFxHZ1XVh96BNdZq0a3xVc9FnNQdqKtOLkJ5YFgjkPINleprCmjHRCMaUI2T7wFLCfcdZT6g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"commander": "^7.0.0"
|
"commander": "^7.0.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "7.1.6",
|
"glob": "7.1.6",
|
||||||
"markdownlint-cli": "0.27.1",
|
"markdownlint-cli": "0.27.1",
|
||||||
"tldr-lint": "~0.0.10"
|
"tldr-lint": "~0.0.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^6.0.0"
|
"husky": "^6.0.0"
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
function run_tests {
|
function run_tests {
|
||||||
markdownlint pages*/**/*.md
|
markdownlint pages*/**/*.md
|
||||||
tldr-lint ./pages
|
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.
|
# Special test function for GitHub Actions pull request builds.
|
||||||
|
|
Loading…
Add table
Reference in a new issue