mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
14 lines
579 B
Diff
14 lines
579 B
Diff
diff --git a/node_modules/eslint/lib/linter/linter.js b/node_modules/eslint/lib/linter/linter.js
|
|
index 29d78da..a6ae07b 100644
|
|
--- a/node_modules/eslint/lib/linter/linter.js
|
|
+++ b/node_modules/eslint/lib/linter/linter.js
|
|
@@ -704,7 +704,7 @@ function createLanguageOptions({ globals: configuredGlobals, parser, parserOptio
|
|
*/
|
|
function resolveGlobals(providedGlobals, enabledEnvironments) {
|
|
return Object.assign(
|
|
- {},
|
|
+ Object.create(null),
|
|
...enabledEnvironments.filter(env => env.globals).map(env => env.globals),
|
|
providedGlobals
|
|
);
|