Skip to content

Commit 46af4c1

Browse files
committed
tools: replace deprecated ESLint configuration
For `globals`, booleans are deprecated in favor strings `'readable'`/`'writeable'`. PR-URL: #25877 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent 7540f9d commit 46af4c1

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.eslintrc.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -277,18 +277,18 @@ module.exports = {
277277
'node-core/no-duplicate-requires': 'error',
278278
},
279279
globals: {
280-
Atomics: false,
281-
BigInt: false,
282-
BigInt64Array: false,
283-
BigUint64Array: false,
284-
DTRACE_HTTP_CLIENT_REQUEST: false,
285-
DTRACE_HTTP_CLIENT_RESPONSE: false,
286-
DTRACE_HTTP_SERVER_REQUEST: false,
287-
DTRACE_HTTP_SERVER_RESPONSE: false,
288-
DTRACE_NET_SERVER_CONNECTION: false,
289-
DTRACE_NET_STREAM_END: false,
290-
TextEncoder: false,
291-
TextDecoder: false,
292-
queueMicrotask: false,
280+
Atomics: 'readable',
281+
BigInt: 'readable',
282+
BigInt64Array: 'readable',
283+
BigUint64Array: 'readable',
284+
DTRACE_HTTP_CLIENT_REQUEST: 'readable',
285+
DTRACE_HTTP_CLIENT_RESPONSE: 'readable',
286+
DTRACE_HTTP_SERVER_REQUEST: 'readable',
287+
DTRACE_HTTP_SERVER_RESPONSE: 'readable',
288+
DTRACE_NET_SERVER_CONNECTION: 'readable',
289+
DTRACE_NET_STREAM_END: 'readable',
290+
TextEncoder: 'readable',
291+
TextDecoder: 'readable',
292+
queueMicrotask: 'readable',
293293
},
294294
};

0 commit comments

Comments
 (0)