Skip to content

Commit

Permalink
tools: bump remark-preset-lint-node to 2.3.0
Browse files Browse the repository at this point in the history
PR-URL: #38910
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
Trott authored and richardlau committed Jul 20, 2021
1 parent b2d836b commit 9b4ae8f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
7 changes: 4 additions & 3 deletions tools/lint-md.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -49757,8 +49757,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)
});
});
}
Expand Down Expand Up @@ -50535,6 +50535,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" },
Expand Down
30 changes: 15 additions & 15 deletions tools/node-lint-md-cli-rollup/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/node-lint-md-cli-rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9b4ae8f

Please sign in to comment.