GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: update markdown linter rules · nodejs/node@f1ea2c8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • lint-md.js
    • node-lint-md-cli-rollup
      • package-lock.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/lint-md.js‎

Copy file name to clipboardExpand all lines: tools/lint-md.js
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49667,6 +49667,11 @@ function validateMeta(node, file, meta) {
4966749667

4966849668
function validateYAMLComments(tree, file) {
4966949669
unistUtilVisit(tree, "html", function visitor(node) {
49670+
if (node.value.startsWith("<!--YAML\n"))
49671+
file.message(
49672+
"Expected `<!-- YAML`, found `<!--YAML`. Please add a space",
49673+
node
49674+
);
4967049675
if (!node.value.startsWith("<!-- YAML\n")) return;
4967149676
try {
4967249677
const meta = jsYaml$2.load("#" + node.value.slice(0, -"-->".length));
Collapse file

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

Copy file name to clipboardExpand all lines: tools/node-lint-md-cli-rollup/package-lock.json
+6-6Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.