Skip to content

Commit e3b900d

Browse files
committed
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>
1 parent 4a5eb1c commit e3b900d

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)