Skip to content

Commit

Permalink
tools: replace deprecated ESLint configuration
Browse files Browse the repository at this point in the history
For `globals`, booleans are deprecated in favor strings
`'readable'`/`'writeable'`.

Backport-PR-URL: #25965
PR-URL: #25877
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
  • Loading branch information
Trott authored and addaleax committed Feb 7, 2019
1 parent e13c185 commit c55d662
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,24 +277,24 @@ module.exports = {
'node-core/no-duplicate-requires': 'error',
},
globals: {
Atomics: false,
BigInt: false,
BigInt64Array: false,
BigUint64Array: false,
COUNTER_HTTP_CLIENT_REQUEST: false,
COUNTER_HTTP_CLIENT_RESPONSE: false,
COUNTER_HTTP_SERVER_REQUEST: false,
COUNTER_HTTP_SERVER_RESPONSE: false,
COUNTER_NET_SERVER_CONNECTION: false,
COUNTER_NET_SERVER_CONNECTION_CLOSE: 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',
COUNTER_HTTP_CLIENT_REQUEST: 'readable',
COUNTER_HTTP_CLIENT_RESPONSE: 'readable',
COUNTER_HTTP_SERVER_REQUEST: 'readable',
COUNTER_HTTP_SERVER_RESPONSE: 'readable',
COUNTER_NET_SERVER_CONNECTION: 'readable',
COUNTER_NET_SERVER_CONNECTION_CLOSE: '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',
},
};

0 comments on commit c55d662

Please sign in to comment.