Skip to content

Commit

Permalink
tools: reduce list of globals in ESLint config
Browse files Browse the repository at this point in the history
Remove globals already known by ESLint.

PR-URL: nodejs#41996
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Tierney Cyren <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
  • Loading branch information
Trott authored and bengl committed Feb 21, 2022
1 parent 82c0a62 commit b8d7d41
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,29 +314,10 @@ module.exports = {
'node-core/no-duplicate-requires': 'error',
},
globals: {
AbortController: 'readable',
AbortSignal: 'readable',
Atomics: 'readable',
BigInt: 'readable',
BigInt64Array: 'readable',
BigUint64Array: 'readable',
DOMException: 'readable',
Event: 'readable',
EventTarget: 'readable',
MessageChannel: 'readable',
MessageEvent: 'readable',
MessagePort: 'readable',
TextEncoder: 'readable',
TextDecoder: 'readable',
queueMicrotask: 'readable',
globalThis: 'readable',
btoa: 'readable',
atob: 'readable',
performance: 'readable',
structuredClone: 'readable',
fetch: 'readable',
Headers: 'readable',
Request: 'readable',
globalThis: 'readable',
Response: 'readable',
},
};

0 comments on commit b8d7d41

Please sign in to comment.