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'`.
  • Loading branch information
Trott committed Feb 1, 2019
1 parent 1945df6 commit 0a1f338
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
};

0 comments on commit 0a1f338

Please sign in to comment.