diff --git a/.eslintrc.js b/.eslintrc.js index b337e03d8fe04e..a68f441fbb21d7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -350,6 +350,7 @@ module.exports = { Crypto: 'readable', CryptoKey: 'readable', DecompressionStream: 'readable', + EventSource: 'readable', fetch: 'readable', FormData: 'readable', navigator: 'readable', diff --git a/doc/api/cli.md b/doc/api/cli.md index abf49fe004a95a..7c95014395f6f8 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -853,6 +853,14 @@ CommonJS. This includes the following: * Lexical redeclarations of the CommonJS wrapper variables (`require`, `module`, `exports`, `__dirname`, `__filename`). +### `--experimental-eventsource` + + + +Enable exposition of [EventSource Web API][] on the global scope. + ### `--experimental-import-meta-resolve`