From e3b900de79859b3d889bbe2909d1d9d3c3306e87 Mon Sep 17 00:00:00 2001 From: Honey Tyagi Date: Mon, 27 Jul 2026 21:48:48 +0530 Subject: [PATCH] tools: use 'readonly' for EventSource global The EventSource entry was the only global in eslint.config.mjs still using the deprecated 'readable' value. ESLint keeps 'readable' working as an alias of 'readonly' for historical reasons, so this is a consistency fix rather than a functional one. The flat config migration converted the other globals in this block but missed this single entry. Fixes: https://github.com/nodejs/node/issues/64757 Signed-off-by: Honey Tyagi --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6d3d8782a0de79..6dd026b88ff293 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -128,7 +128,7 @@ export default [ CryptoKey: 'readonly', DecompressionStream: 'readonly', DisposableStack: 'readonly', - EventSource: 'readable', + EventSource: 'readonly', fetch: 'readonly', Float16Array: 'readonly', FormData: 'readonly',