tools: apply more stringent blank-line linting for markdown files

Update remark-preset-lint-node to 1.9.0, which adds linting for
multiple consecutive blank lines.

PR-URL: https://github.com/nodejs/node/pull/29447
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Rich Trott 2019-09-04 22:54:50 -07:00
parent 210b930c74
commit 1e01f3f022
3 changed files with 18 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -860,6 +860,18 @@
"vfile-location": "^2.0.1"
}
},
"remark-lint-no-consecutive-blank-lines": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/remark-lint-no-consecutive-blank-lines/-/remark-lint-no-consecutive-blank-lines-1.0.3.tgz",
"integrity": "sha512-2Ef7fPxrfLditA7sTo2Qfqd+xwh/luWl8GzILE5vcWIxLDqKk3dTLJkB5nP+7Cr4kqWJAwXnRkEDd77ehrRV3A==",
"requires": {
"plur": "^3.0.0",
"unified-lint-rule": "^1.0.0",
"unist-util-generated": "^1.1.0",
"unist-util-position": "^3.0.0",
"unist-util-visit": "^1.1.1"
}
},
"remark-lint-no-duplicate-definitions": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/remark-lint-no-duplicate-definitions/-/remark-lint-no-duplicate-definitions-1.0.5.tgz",
@ -1108,9 +1120,9 @@
}
},
"remark-preset-lint-node": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-1.8.0.tgz",
"integrity": "sha512-CD/9JqdFeJXvOpF9GjazxMMdN32Vc+dKlha3X0ocPS8W4kAWQux9fEOlKLB7WiPwQ0ms7tbO+lUJ1G5VWZ/Upw==",
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-1.9.0.tgz",
"integrity": "sha512-2Fj/vqJXhCUjxcQt4QPACUCK4h6Fo7vOmyOcPemkdsPDABRUREu0oh2ooSnNOGkFv2YBJ8VzbavZX7qJsdoRLg==",
"requires": {
"remark-lint": "^6.0.0",
"remark-lint-blockquote-indentation": "^1.0.0",
@ -1130,6 +1142,7 @@
"remark-lint-maximum-line-length": "^1.1.0",
"remark-lint-no-auto-link-without-protocol": "^1.0.0",
"remark-lint-no-blockquote-without-marker": "^2.0.2",
"remark-lint-no-consecutive-blank-lines": "^1.0.3",
"remark-lint-no-duplicate-definitions": "^1.0.0",
"remark-lint-no-file-name-articles": "^1.0.0",
"remark-lint-no-file-name-consecutive-dashes": "^1.0.0",

View File

@ -9,7 +9,7 @@
"markdown-extensions": "^1.1.1",
"remark": "^10.0.1",
"remark-lint": "^6.0.4",
"remark-preset-lint-node": "^1.8.0",
"remark-preset-lint-node": "^1.9.0",
"unified-args": "^7.0.0",
"unified-engine": "^6.0.1"
},