Update Eslint and deps (#15293)
parent
b82d357a0d
commit
1db0ee87ec
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@ |
|||||||
diff --git a/node_modules/@eslint/eslintrc/lib/config-array-factory.js b/node_modules/@eslint/eslintrc/lib/config-array-factory.js
|
|
||||||
index c7ff6a0..6a88c6d 100644
|
|
||||||
--- a/node_modules/@eslint/eslintrc/lib/config-array-factory.js
|
|
||||||
+++ b/node_modules/@eslint/eslintrc/lib/config-array-factory.js
|
|
||||||
@@ -41,7 +41,6 @@
|
|
||||||
|
|
||||||
const fs = require("fs");
|
|
||||||
const path = require("path");
|
|
||||||
-const importFresh = require("import-fresh");
|
|
||||||
const stripComments = require("strip-json-comments");
|
|
||||||
const ConfigValidator = require("./shared/config-validator");
|
|
||||||
const naming = require("./shared/naming");
|
|
||||||
@@ -222,7 +221,7 @@ function loadLegacyConfigFile(filePath) {
|
|
||||||
function loadJSConfigFile(filePath) {
|
|
||||||
debug(`Loading JS config file: ${filePath}`);
|
|
||||||
try {
|
|
||||||
- return importFresh(filePath);
|
|
||||||
+ return require(filePath);
|
|
||||||
} catch (e) {
|
|
||||||
debug(`Error reading JavaScript file: ${filePath}`);
|
|
||||||
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
|
File diff suppressed because one or more lines are too long
@ -1,8 +1,8 @@ |
|||||||
diff --git a/node_modules/eslint/lib/linter/linter.js b/node_modules/eslint/lib/linter/linter.js
|
diff --git a/node_modules/eslint/lib/linter/linter.js b/node_modules/eslint/lib/linter/linter.js
|
||||||
index adb5c21..4a4be92 100644
|
index 29d78da..a6ae07b 100644
|
||||||
--- a/node_modules/eslint/lib/linter/linter.js
|
--- a/node_modules/eslint/lib/linter/linter.js
|
||||||
+++ b/node_modules/eslint/lib/linter/linter.js
|
+++ b/node_modules/eslint/lib/linter/linter.js
|
||||||
@@ -560,7 +560,7 @@ function resolveParserOptions(parserName, providedOptions, enabledEnvironments)
|
@@ -704,7 +704,7 @@ function createLanguageOptions({ globals: configuredGlobals, parser, parserOptio
|
||||||
*/
|
*/
|
||||||
function resolveGlobals(providedGlobals, enabledEnvironments) {
|
function resolveGlobals(providedGlobals, enabledEnvironments) {
|
||||||
return Object.assign(
|
return Object.assign(
|
Loading…
Reference in new issue