Skip to content

Commit f8a1381

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 984260b commit f8a1381

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
@@ -126,7 +126,7 @@ export default [
126126
CryptoKey: 'readonly',
127127
DecompressionStream: 'readonly',
128128
DisposableStack: 'readonly',
129-
EventSource: 'readable',
129+
EventSource: 'readonly',
130130
fetch: 'readonly',
131131
Float16Array: 'readonly',
132132
FormData: 'readonly',

0 commit comments

Comments
 (0)