Content-Length: 262689 | pFad | https://github.com/nodejs/node/commit/118cd9998f

3D tools: fix `node:` enforcement for docs · nodejs/node@118cd99 · GitHub
Skip to content

Commit 118cd99

Browse 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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/eslint.config_partial.mjs

Lines 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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/nodejs/node/commit/118cd9998f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy