From b8d7d410fa65d23584aee1a103e3a42603f76aa9 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 17 Feb 2022 17:38:39 -0800 Subject: [PATCH] tools: reduce list of globals in ESLint config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove globals already known by ESLint. PR-URL: https://github.com/nodejs/node/pull/41996 Reviewed-By: Mestery Reviewed-By: Colin Ihrig Reviewed-By: Tierney Cyren Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: Shingo Inoue --- .eslintrc.js | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e3872f4b8eeb79..502a4e7078e4ab 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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', }, };