You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
579 B
14 lines
579 B
3 years ago
|
diff --git a/node_modules/eslint/lib/linter/linter.js b/node_modules/eslint/lib/linter/linter.js
|
||
2 years ago
|
index 29d78da..a6ae07b 100644
|
||
3 years ago
|
--- a/node_modules/eslint/lib/linter/linter.js
|
||
|
+++ b/node_modules/eslint/lib/linter/linter.js
|
||
2 years ago
|
@@ -704,7 +704,7 @@ function createLanguageOptions({ globals: configuredGlobals, parser, parserOptio
|
||
3 years ago
|
*/
|
||
|
function resolveGlobals(providedGlobals, enabledEnvironments) {
|
||
|
return Object.assign(
|
||
|
- {},
|
||
|
+ Object.create(null),
|
||
|
...enabledEnvironments.filter(env => env.globals).map(env => env.globals),
|
||
|
providedGlobals
|
||
|
);
|