Skip to content

Commit 65ef34b

Browse files
HoneyTyagiiaduh95
authored andcommitted
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: #64757 Signed-off-by: Honey Tyagi <honeyt290@gmail.com> PR-URL: #64787 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
1 parent 6168067 commit 65ef34b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default [
128128
CryptoKey: 'readonly',
129129
DecompressionStream: 'readonly',
130130
DisposableStack: 'readonly',
131-
EventSource: 'readable',
131+
EventSource: 'readonly',
132132
fetch: 'readonly',
133133
Float16Array: 'readonly',
134134
FormData: 'readonly',

0 commit comments

Comments
 (0)