Skip to content

Commit 9b4ae8f

Browse files
Trottrichardlau
authored andcommitted
tools: bump remark-preset-lint-node to 2.3.0
PR-URL: #38910 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent b2d836b commit 9b4ae8f

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

tools/lint-md.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -39714,7 +39714,7 @@ const dependencies$1 = {
3971439714
remark: "^13.0.0",
3971539715
"remark-gfm": "^1.0.0",
3971639716
"remark-lint": "^8.0.0",
39717-
"remark-preset-lint-node": "^2.0.1",
39717+
"remark-preset-lint-node": "^2.3.0",
3971839718
"unified-args": "^8.1.0"
3971939719
};
3972039720
const main = "dist/index.js";
@@ -49757,8 +49757,8 @@ function prohibitedStrings (ast, file, strings) {
4975749757
results.forEach(({ result, index }) => {
4975849758
const message = val.yes ? `Use "${val.yes}" instead of "${result}"` : `Do not use "${result}"`;
4975949759
file.message(message, {
49760-
start: location.toPosition(initial + index),
49761-
end: location.toPosition(initial + index + [...result].length)
49760+
start: location.toPoint(initial + index),
49761+
end: location.toPoint(initial + index + [...result].length)
4976249762
});
4976349763
});
4976449764
}
@@ -50535,6 +50535,7 @@ var plugins$2 = [
5053550535
{ yes: "GitHub" },
5053650536
{ no: "hostname", yes: "host name" },
5053750537
{ yes: "JavaScript" },
50538+
{ no: "[Ll]ong[ -][Tt]erm [Ss]upport", yes: "Long Term Support" },
5053850539
{ no: "Node", yes: "Node.js", ignoreNextTo: "-API" },
5053950540
{ yes: "Node.js" },
5054050541
{ no: "Node[Jj][Ss]", yes: "Node.js" },

tools/node-lint-md-cli-rollup/package-lock.json

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/node-lint-md-cli-rollup/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"remark": "^13.0.0",
1515
"remark-gfm": "^1.0.0",
1616
"remark-lint": "^8.0.0",
17-
"remark-preset-lint-node": "^2.0.1",
17+
"remark-preset-lint-node": "^2.3.0",
1818
"unified-args": "^8.1.0"
1919
},
2020
"main": "dist/index.js",

0 commit comments

Comments
 (0)