Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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)
Comment on lines +49765 to +49766
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this generated or did you read the docs/rel notes and change it manually? Just curious.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generated from tools/node-lint-md-cli-rollup

Copy link

@Nadasayed129 Nadasayed129 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this generated or did you read the docs/rel notes and change it manually? Just curious.

This file is generated from tools/node-lint-md-cli-rollup

});
});
}
Expand Down Expand Up @@ -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" },
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