diff --git a/.eslintrc.js b/.eslintrc.js index a154d00794ab4d..ac04fcc02da203 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -341,6 +341,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 f08afb737d41b4..386fb1402daa19 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -808,6 +808,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`