tools: bump remark-preset-lint-node to 2.3.0

PR-URL: https://github.com/nodejs/node/pull/38910
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
Rich Trott
2021-06-02 16:45:51 -07:00
parent 7f742aea38
commit e7f941c161
3 changed files with 20 additions and 19 deletions

View File

@@ -39714,7 +39714,7 @@ const dependencies$1 = {
remark: "^13.0.0",
"remark-gfm": "^1.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-node": "^2.0.1",
"remark-preset-lint-node": "^2.3.0",
"unified-args": "^8.1.0"
};
const main = "dist/index.js";
@@ -49762,8 +49762,8 @@ function prohibitedStrings (ast, file, strings) {
results.forEach(({ result, index }) => {
const message = val.yes ? `Use "${val.yes}" instead of "${result}"` : `Do not use "${result}"`;
file.message(message, {
start: location.toPosition(initial + index),
end: location.toPosition(initial + index + [...result].length)
start: location.toPoint(initial + index),
end: location.toPoint(initial + index + [...result].length)
});
});
}
@@ -50540,6 +50540,7 @@ var plugins$2 = [
{ yes: "GitHub" },
{ no: "hostname", yes: "host name" },
{ yes: "JavaScript" },
{ no: "[Ll]ong[ -][Tt]erm [Ss]upport", yes: "Long Term Support" },
{ no: "Node", yes: "Node.js", ignoreNextTo: "-API" },
{ yes: "Node.js" },
{ no: "Node[Jj][Ss]", yes: "Node.js" },

View File

@@ -11,7 +11,7 @@
"remark": "^13.0.0",
"remark-gfm": "^1.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-node": "^2.0.1",
"remark-preset-lint-node": "^2.3.0",
"unified-args": "^8.1.0"
},
"devDependencies": {
@@ -1999,9 +1999,9 @@
}
},
"node_modules/remark-lint-prohibited-strings": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-1.5.2.tgz",
"integrity": "sha512-1+WIHboeLxmAnlxTFW6XNfvxvhnC2WRxn0rGgcNp/M7CrANHhnadY2/YeXFLF9oY22SAylrxiPG9eAuUmJuW6w==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-2.0.0.tgz",
"integrity": "sha512-N94RTdAT4qmYNBczNZEZbnpGvtl9GiLPO/xdG569IpbbtNFh5l+Nf5Mx5B1VeJMC8/hAR7wShag03Zf29MOO6Q==",
"dependencies": {
"escape-string-regexp": "^4.0.0",
"unified-lint-rule": "^1.0.2",
@@ -2111,9 +2111,9 @@
}
},
"node_modules/remark-preset-lint-node": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.2.0.tgz",
"integrity": "sha512-85wnJs7HyQlY3Ae5HRxPjJx5cFBvAAOSfSpmyNVb6Fs9HYoR9ipimAxWfl2M1gYVT2rBrod8Jzu415dOMukzOw==",
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.3.0.tgz",
"integrity": "sha512-k2whtqbZ0/RRH2ffumvsNEkpKrbrcYLA2K8bZ5bnPeM/jahmJukas0uk9cYXUmsfDLzV6kuJHaO0EAzaYmVvMg==",
"dependencies": {
"js-yaml": "^4.0.0",
"remark-lint": "^8.0.0",
@@ -2140,7 +2140,7 @@
"remark-lint-no-table-indentation": "^3.0.0",
"remark-lint-no-tabs": "^2.0.0",
"remark-lint-no-trailing-spaces": "^2.0.1",
"remark-lint-prohibited-strings": "^1.5.2",
"remark-lint-prohibited-strings": "^2.0.0",
"remark-lint-rule-style": "^2.0.0",
"remark-lint-strong-marker": "^2.0.0",
"remark-lint-table-cell-padding": "^3.0.0",
@@ -4142,9 +4142,9 @@
}
},
"remark-lint-prohibited-strings": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-1.5.2.tgz",
"integrity": "sha512-1+WIHboeLxmAnlxTFW6XNfvxvhnC2WRxn0rGgcNp/M7CrANHhnadY2/YeXFLF9oY22SAylrxiPG9eAuUmJuW6w==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-2.0.0.tgz",
"integrity": "sha512-N94RTdAT4qmYNBczNZEZbnpGvtl9GiLPO/xdG569IpbbtNFh5l+Nf5Mx5B1VeJMC8/hAR7wShag03Zf29MOO6Q==",
"requires": {
"escape-string-regexp": "^4.0.0",
"unified-lint-rule": "^1.0.2",
@@ -4226,9 +4226,9 @@
}
},
"remark-preset-lint-node": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.2.0.tgz",
"integrity": "sha512-85wnJs7HyQlY3Ae5HRxPjJx5cFBvAAOSfSpmyNVb6Fs9HYoR9ipimAxWfl2M1gYVT2rBrod8Jzu415dOMukzOw==",
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.3.0.tgz",
"integrity": "sha512-k2whtqbZ0/RRH2ffumvsNEkpKrbrcYLA2K8bZ5bnPeM/jahmJukas0uk9cYXUmsfDLzV6kuJHaO0EAzaYmVvMg==",
"requires": {
"js-yaml": "^4.0.0",
"remark-lint": "^8.0.0",
@@ -4255,7 +4255,7 @@
"remark-lint-no-table-indentation": "^3.0.0",
"remark-lint-no-tabs": "^2.0.0",
"remark-lint-no-trailing-spaces": "^2.0.1",
"remark-lint-prohibited-strings": "^1.5.2",
"remark-lint-prohibited-strings": "^2.0.0",
"remark-lint-rule-style": "^2.0.0",
"remark-lint-strong-marker": "^2.0.0",
"remark-lint-table-cell-padding": "^3.0.0",

View File

@@ -14,7 +14,7 @@
"remark": "^13.0.0",
"remark-gfm": "^1.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-node": "^2.0.1",
"remark-preset-lint-node": "^2.3.0",
"unified-args": "^8.1.0"
},
"main": "dist/index.js",