From 6b7eba8887ad5392ed6cd6cdd711c33c8f645ccb Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 11 Aug 2020 19:01:58 -0700 Subject: [PATCH] lint fix --- packages/monaco-editor/src/configureEnvironment.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/monaco-editor/src/configureEnvironment.ts b/packages/monaco-editor/src/configureEnvironment.ts index 4a541871299569..6f78085f293c4f 100644 --- a/packages/monaco-editor/src/configureEnvironment.ts +++ b/packages/monaco-editor/src/configureEnvironment.ts @@ -10,6 +10,7 @@ export interface IMonacoConfig { crossDomain?: boolean; } +// eslint-disable-next-line no-restricted-globals const globalObj = (typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {}) as Window & { // eslint-disable-next-line @typescript-eslint/no-explicit-any MonacoEnvironment?: any;