mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01: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": {
|
||||
"": {
|
||||
"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"
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue