forked from electron/electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use markdownlint to lint the docs (electron#26792)
* chore: use markdownlint to lint the docs * chore: fix markdown lints Co-authored-by: Cheng Zhao <[email protected]>
- Loading branch information
1 parent
40e80af
commit 63ca878
Showing
7 changed files
with
129 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"default": false, | ||
"no-trailing-spaces": { | ||
"br_spaces": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"commands-show-output": false, | ||
"first-line-h1": false, | ||
"header-increment": false, | ||
"line-length": { | ||
"code_blocks": false, | ||
"tables": false, | ||
"stern": true, | ||
"line_length": -1 | ||
}, | ||
"no-bare-urls": false, | ||
"no-blanks-blockquote": false, | ||
"no-duplicate-header": { | ||
"allow_different_nesting": true | ||
}, | ||
"no-emphasis-as-header": false, | ||
"no-hard-tabs": { | ||
"code_blocks": false | ||
}, | ||
"no-space-in-emphasis": false, | ||
"no-trailing-punctuation": false, | ||
"no-trailing-spaces": { | ||
"br_spaces": 0 | ||
}, | ||
"single-h1": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -325,6 +325,8 @@ | |
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/@types/klaw/-/klaw-3.0.1.tgz#29f90021c0234976aa4eb97efced9cb6db9fa8b3" | ||
integrity sha512-acnF3n9mYOr1aFJKFyvfNX0am9EtPUsYPq22QUCGdJE+MVt6UyAN1jwo+PmOPqXD4K7ZS9MtxDEp/un0lxFccA== | ||
dependencies: | ||
"@types/node" "*" | ||
|
||
"@types/linkify-it@*": | ||
version "2.1.0" | ||
|
@@ -1739,6 +1741,11 @@ commander@^5.0.0, commander@^5.1.0: | |
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" | ||
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== | ||
|
||
commander@~6.2.0: | ||
version "6.2.0" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.0.tgz#b990bfb8ac030aedc6d11bc04d1488ffef56db75" | ||
integrity sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q== | ||
|
||
commondir@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" | ||
|
@@ -1998,7 +2005,7 @@ deep-eql@^3.0.1: | |
dependencies: | ||
type-detect "^4.0.0" | ||
|
||
deep-extend@^0.6.0: | ||
deep-extend@^0.6.0, deep-extend@~0.6.0: | ||
version "0.6.0" | ||
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" | ||
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== | ||
|
@@ -3266,6 +3273,11 @@ get-stdin@^7.0.0: | |
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" | ||
integrity sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ== | ||
|
||
get-stdin@~8.0.0: | ||
version "8.0.0" | ||
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" | ||
integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== | ||
|
||
get-stream@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" | ||
|
@@ -3351,7 +3363,7 @@ glob@^7.1.3: | |
once "^1.3.0" | ||
path-is-absolute "^1.0.0" | ||
|
||
glob@^7.1.6: | ||
glob@^7.1.6, glob@~7.1.6: | ||
version "7.1.6" | ||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" | ||
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== | ||
|
@@ -3659,7 +3671,7 @@ ignore@^4.0.6: | |
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" | ||
integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== | ||
|
||
ignore@^5.0.0, ignore@^5.1.1, ignore@^5.1.4: | ||
ignore@^5.0.0, ignore@^5.1.1, ignore@^5.1.4, ignore@~5.1.8: | ||
version "5.1.8" | ||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" | ||
integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== | ||
|
@@ -4196,6 +4208,14 @@ js-yaml@^3.13.1, js-yaml@^3.2.7, js-yaml@^3.6.1: | |
argparse "^1.0.7" | ||
esprima "^4.0.0" | ||
|
||
js-yaml@~3.14.0: | ||
version "3.14.0" | ||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482" | ||
integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== | ||
dependencies: | ||
argparse "^1.0.7" | ||
esprima "^4.0.0" | ||
|
||
jsbn@~0.1.0: | ||
version "0.1.1" | ||
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" | ||
|
@@ -4240,6 +4260,11 @@ json5@^2.1.2: | |
dependencies: | ||
minimist "^1.2.5" | ||
|
||
jsonc-parser@~2.3.1: | ||
version "2.3.1" | ||
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.3.1.tgz#59549150b133f2efacca48fe9ce1ec0659af2342" | ||
integrity sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg== | ||
|
||
jsonfile@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" | ||
|
@@ -4366,6 +4391,13 @@ linkify-it@^2.0.0: | |
dependencies: | ||
uc.micro "^1.0.1" | ||
|
||
linkify-it@^3.0.1: | ||
version "3.0.2" | ||
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-3.0.2.tgz#f55eeb8bc1d3ae754049e124ab3bb56d97797fb8" | ||
integrity sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ== | ||
dependencies: | ||
uc.micro "^1.0.1" | ||
|
||
lint-staged@^10.2.11: | ||
version "10.2.11" | ||
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.2.11.tgz#713c80877f2dc8b609b05bc59020234e766c9720" | ||
|
@@ -4506,7 +4538,12 @@ lodash.camelcase@^4.3.0: | |
resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" | ||
integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= | ||
|
||
lodash.flatten@^4.4.0: | ||
lodash.differencewith@~4.5.0: | ||
version "4.5.0" | ||
resolved "https://registry.yarnpkg.com/lodash.differencewith/-/lodash.differencewith-4.5.0.tgz#bafafbc918b55154e179176a00bb0aefaac854b7" | ||
integrity sha1-uvr7yRi1UVTheRdqALsK76rIVLc= | ||
|
||
lodash.flatten@^4.4.0, lodash.flatten@~4.4.0: | ||
version "4.4.0" | ||
resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" | ||
integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8= | ||
|
@@ -4666,6 +4703,17 @@ markdown-extensions@^1.1.0: | |
resolved "https://registry.yarnpkg.com/markdown-extensions/-/markdown-extensions-1.1.1.tgz#fea03b539faeaee9b4ef02a3769b455b189f7fc3" | ||
integrity sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q== | ||
|
||
[email protected]: | ||
version "11.0.0" | ||
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-11.0.0.tgz#dbfc30363e43d756ebc52c38586b91b90046b876" | ||
integrity sha512-+CvOnmbSubmQFSA9dKz1BRiaSMV7rhexl3sngKqFyXSagoA3fBdJQ8oZWtRy2knXdpDXaBw44euz37DeJQ9asg== | ||
dependencies: | ||
argparse "^1.0.7" | ||
entities "~2.0.0" | ||
linkify-it "^3.0.1" | ||
mdurl "^1.0.1" | ||
uc.micro "^1.0.5" | ||
|
||
markdown-it@^10.0.0: | ||
version "10.0.0" | ||
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-10.0.0.tgz#abfc64f141b1722d663402044e43927f1f50a8dc" | ||
|
@@ -4682,6 +4730,38 @@ markdown-table@^1.1.0: | |
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60" | ||
integrity sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q== | ||
|
||
markdownlint-cli@^0.25.0: | ||
version "0.25.0" | ||
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.25.0.tgz#806b2c234259fa621af27673644506d447bdb6a1" | ||
integrity sha512-pmiXJgPQtAx6YOMXPCCO3AudMWv8Gnhfrprn0raqevofOhO95nJZ6bTEXkUVbzEwvYhvGxE0Yl888aZwuRGMGw== | ||
dependencies: | ||
commander "~6.2.0" | ||
deep-extend "~0.6.0" | ||
get-stdin "~8.0.0" | ||
glob "~7.1.6" | ||
ignore "~5.1.8" | ||
js-yaml "~3.14.0" | ||
jsonc-parser "~2.3.1" | ||
lodash.differencewith "~4.5.0" | ||
lodash.flatten "~4.4.0" | ||
markdownlint "~0.21.1" | ||
markdownlint-rule-helpers "~0.12.0" | ||
minimatch "~3.0.4" | ||
minimist "~1.2.5" | ||
rc "~1.2.8" | ||
|
||
markdownlint-rule-helpers@~0.12.0: | ||
version "0.12.0" | ||
resolved "https://registry.yarnpkg.com/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.12.0.tgz#c41d9b990c50911572e8eb2fba3e6975a5514b7e" | ||
integrity sha512-Q7qfAk+AJvx82ZY52OByC4yjoQYryOZt6D8TKrZJIwCfhZvcj8vCQNuwDqILushtDBTvGFmUPq+uhOb1KIMi6A== | ||
|
||
markdownlint@^0.21.1, markdownlint@~0.21.1: | ||
version "0.21.1" | ||
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.21.1.tgz#9442afcf12bf65ce9d613212028cf85741677421" | ||
integrity sha512-8kc88w5dyEzlmOWIElp8J17qBgzouOQfJ0LhCcpBFrwgyYK6JTKvILsk4FCEkiNqHkTxwxopT2RS2DYb/10qqg== | ||
dependencies: | ||
markdown-it "11.0.0" | ||
|
||
matcher-collection@^1.0.0: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/matcher-collection/-/matcher-collection-1.1.2.tgz#1076f506f10ca85897b53d14ef54f90a5c426838" | ||
|
@@ -4895,7 +4975,7 @@ minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0, minimist@~1.2.0: | |
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" | ||
integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= | ||
|
||
minimist@^1.2.5: | ||
minimist@^1.2.5, minimist@~1.2.5: | ||
version "1.2.5" | ||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" | ||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== | ||
|
@@ -5973,7 +6053,7 @@ [email protected]: | |
iconv-lite "0.4.24" | ||
unpipe "1.0.0" | ||
|
||
rc@^1.1.0, rc@^1.2.7: | ||
rc@^1.1.0, rc@^1.2.7, rc@~1.2.8: | ||
version "1.2.8" | ||
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" | ||
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== | ||
|