Skip to content

Commit 9626d55

Browse files
committed
tools: no-global-assign
1 parent 1f4824e commit 9626d55

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/api/perf_hooks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,6 +2199,8 @@ const timedImport = performance.timerify(async (module) => {
21992199
await timedImport('some-module');
22002200
```
22012201

2202+
<!-- eslint-disable no-global-assign -->
2203+
22022204
```cjs
22032205
'use strict';
22042206
const {

doc/api/single-executable-applications.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,8 @@ To load modules from the file system in the injected main script, users can
412412
create a `require` function that can load from the file system using
413413
`module.createRequire()`. For example, in a CommonJS entry point:
414414

415+
<!-- eslint-disable no-global-assign -->
416+
415417
```js
416418
const { createRequire } = require('node:module');
417419
require = createRequire(__filename);

0 commit comments

Comments
 (0)