From 46af4c1d01b90ee6845abf40c813f384286f3ad4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 1 Feb 2019 11:52:46 -0800 Subject: [PATCH] tools: replace deprecated ESLint configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For `globals`, booleans are deprecated in favor strings `'readable'`/`'writeable'`. PR-URL: https://github.com/nodejs/node/pull/25877 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Yuta Hiroto --- .eslintrc.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6d5668d5ae9a7d..9bd8e661237fd7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -277,18 +277,18 @@ module.exports = { 'node-core/no-duplicate-requires': 'error', }, globals: { - Atomics: false, - BigInt: false, - BigInt64Array: false, - BigUint64Array: false, - DTRACE_HTTP_CLIENT_REQUEST: false, - DTRACE_HTTP_CLIENT_RESPONSE: false, - DTRACE_HTTP_SERVER_REQUEST: false, - DTRACE_HTTP_SERVER_RESPONSE: false, - DTRACE_NET_SERVER_CONNECTION: false, - DTRACE_NET_STREAM_END: false, - TextEncoder: false, - TextDecoder: false, - queueMicrotask: false, + Atomics: 'readable', + BigInt: 'readable', + BigInt64Array: 'readable', + BigUint64Array: 'readable', + DTRACE_HTTP_CLIENT_REQUEST: 'readable', + DTRACE_HTTP_CLIENT_RESPONSE: 'readable', + DTRACE_HTTP_SERVER_REQUEST: 'readable', + DTRACE_HTTP_SERVER_RESPONSE: 'readable', + DTRACE_NET_SERVER_CONNECTION: 'readable', + DTRACE_NET_STREAM_END: 'readable', + TextEncoder: 'readable', + TextDecoder: 'readable', + queueMicrotask: 'readable', }, };