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 ad080e559987e1..b94e459cdecd50 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -851,6 +851,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`