Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 118cd99

Browse filesBrowse files
committed
tools: fix node: enforcement for docs
PR-URL: #56284 Refs: #56185 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent c4c56da commit 118cd99
Copy full SHA for 118cd99

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.