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 Dec 17, 2024
1 parent 5a868b5 commit 6012a4e
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 6012a4e

Please sign in to comment.