tools: update markdown linter for Windows line endings

Update the markdown linter to work with Windows line endings.
Previously, Windows line endings would break the trailing-spaces plugin.

PR-URL: https://github.com/nodejs/node/pull/27756
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
This commit is contained in:
Rich Trott 2019-05-17 15:40:10 -07:00
parent 4a218fd96f
commit cc7e15f850
3 changed files with 12 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@ -1712,9 +1712,9 @@
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
}, },
"plur": { "plur": {
"version": "3.0.1", "version": "3.1.1",
"resolved": "https://registry.npmjs.org/plur/-/plur-3.0.1.tgz", "resolved": "https://registry.npmjs.org/plur/-/plur-3.1.1.tgz",
"integrity": "sha512-lJl0ojUynAM1BZn58Pas2WT/TXeC1+bS+UqShl0x9+49AtOn7DixRXVzaC8qrDOIxNDmepKnLuMTH7NQmkX0PA==", "integrity": "sha512-t1Ax8KUvV3FFII8ltczPn2tJdjqbd1sIzu6t4JL7nQ3EyeL/lTrj5PWKb06ic5/6XYDr65rQ4uzQEGN70/6X5w==",
"requires": { "requires": {
"irregular-plurals": "^2.0.0" "irregular-plurals": "^2.0.0"
} }
@ -2103,9 +2103,9 @@
} }
}, },
"remark-lint-no-trailing-spaces": { "remark-lint-no-trailing-spaces": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/remark-lint-no-trailing-spaces/-/remark-lint-no-trailing-spaces-2.0.0.tgz", "resolved": "https://registry.npmjs.org/remark-lint-no-trailing-spaces/-/remark-lint-no-trailing-spaces-2.0.1.tgz",
"integrity": "sha512-UVb0xAFO5lsa/kRNC/qHOz7GuF91TjW7hk+m8hUircj1Nh53BP9rH24DJ/NVPF1Ve+u5k+pfOTJPqJcvD0zgUw==", "integrity": "sha512-cj8t+nvtO6eAY2lJC7o5du8VeOCK13XiDUHL4U6k5aw6ZLr3EYWbQ/rNc6cr60eHkh5Ldm09KiZjV3CWpxqJ0g==",
"requires": { "requires": {
"unified-lint-rule": "^1.0.2" "unified-lint-rule": "^1.0.2"
} }
@ -2206,9 +2206,9 @@
} }
}, },
"remark-preset-lint-node": { "remark-preset-lint-node": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-1.6.0.tgz", "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-1.6.1.tgz",
"integrity": "sha512-2aMruLIudApA+WMWkFHFaYog2KTvLj1abSI1ulhAug6ibsjUg7AcHtipjdx9jzfSHVGYCmAINujFme50P0bOVw==", "integrity": "sha512-IPI6twjHjGwiqPU8CS2MybL/kXwhmtfS42Ovrp6bw9w3nZg6y0EbsrvpBOBNiJpWMG9NP0sKpRCzkfqx39Jyxw==",
"requires": { "requires": {
"remark-lint": "^6.0.0", "remark-lint": "^6.0.0",
"remark-lint-blockquote-indentation": "^1.0.0", "remark-lint-blockquote-indentation": "^1.0.0",
@ -2240,7 +2240,7 @@
"remark-lint-no-shortcut-reference-image": "^1.0.0", "remark-lint-no-shortcut-reference-image": "^1.0.0",
"remark-lint-no-table-indentation": "^1.0.0", "remark-lint-no-table-indentation": "^1.0.0",
"remark-lint-no-tabs": "^1.0.0", "remark-lint-no-tabs": "^1.0.0",
"remark-lint-no-trailing-spaces": "^2.0.0", "remark-lint-no-trailing-spaces": "^2.0.1",
"remark-lint-no-unused-definitions": "^1.0.0", "remark-lint-no-unused-definitions": "^1.0.0",
"remark-lint-prohibited-strings": "^1.1.0", "remark-lint-prohibited-strings": "^1.1.0",
"remark-lint-rule-style": "^1.0.0", "remark-lint-rule-style": "^1.0.0",

View File

@ -9,7 +9,7 @@
"markdown-extensions": "^1.1.1", "markdown-extensions": "^1.1.1",
"remark": "^10.0.1", "remark": "^10.0.1",
"remark-lint": "^6.0.4", "remark-lint": "^6.0.4",
"remark-preset-lint-node": "^1.6.0", "remark-preset-lint-node": "^1.6.1",
"unified-args": "^6.0.0", "unified-args": "^6.0.0",
"unified-engine": "^6.0.1" "unified-engine": "^6.0.1"
}, },