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: fix `node:` enforcement for docs · nodejs/node@7ae125c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc
    • eslint.config_partial.mjs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/eslint.config_partial.mjs‎

Copy file name to clipboardExpand all lines: doc/eslint.config_partial.mjs
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import {
33
noRestrictedSyntaxCommonLib,
44
requireEslintTool,
55
} from '../tools/eslint/eslint.config_utils.mjs';
6-
import { builtinModules as builtin } from 'node:module';
6+
import { builtinModules } from 'node:module';
7+
8+
const builtin = builtinModules.filter((name) => !name.startsWith('node:'));
79

810
const globals = requireEslintTool('globals');
911

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.