Skip to content

Commit

Permalink
tools: fix node: enforcement for docs
Browse files Browse the repository at this point in the history
PR-URL: #56284
Refs: #56185
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
  • Loading branch information
aduh95 authored and ruyadorno committed Dec 21, 2024
1 parent 318bab4 commit a5702a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/eslint.config_partial.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import {
noRestrictedSyntaxCommonLib,
requireEslintTool,
} from '../tools/eslint/eslint.config_utils.mjs';
import { builtinModules as builtin } from 'node:module';
import { builtinModules } from 'node:module';

const builtin = builtinModules.filter((name) => !name.startsWith('node:'));

const globals = requireEslintTool('globals');

Expand Down

0 comments on commit a5702a0

Please sign in to comment.