Upgrade to ESLint 9
This commit is contained in:
13
patches/@typescript-eslint__utils@8.2.0.patch
Normal file
13
patches/@typescript-eslint__utils@8.2.0.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/dist/eslint-utils/getParserServices.js b/dist/eslint-utils/getParserServices.js
|
||||
index 3b3020f601ba9cc92fdaf643ee3a8bdc44d1291a..730fccd5838b388b496a8861705e0d9883fc2fcb 100644
|
||||
--- a/dist/eslint-utils/getParserServices.js
|
||||
+++ b/dist/eslint-utils/getParserServices.js
|
||||
@@ -24,7 +24,7 @@ function getParserServices(context, allowWithoutFullTypeInformation = false) {
|
||||
// this forces the user to supply parserOptions.project
|
||||
if (context.sourceCode.parserServices.program == null &&
|
||||
!allowWithoutFullTypeInformation) {
|
||||
- throwError(parser);
|
||||
+ // throwError(parser);
|
||||
}
|
||||
return context.sourceCode.parserServices;
|
||||
}
|
11
patches/dts-bundle-generator.patch
Normal file
11
patches/dts-bundle-generator.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --git a/dist/helpers/check-diagnostics-errors.js b/dist/helpers/check-diagnostics-errors.js
|
||||
index 3ff0a59509fe381189764a253e6b668241e3b921..9b1eadf36278cea8dadc6cb5cfed4c4a89e91609 100644
|
||||
--- a/dist/helpers/check-diagnostics-errors.js
|
||||
+++ b/dist/helpers/check-diagnostics-errors.js
|
||||
@@ -20,6 +20,5 @@ function checkDiagnosticsErrors(diagnostics, failMessage) {
|
||||
return;
|
||||
}
|
||||
(0, logger_1.errorLog)(ts.formatDiagnostics(diagnostics, formatDiagnosticsHost).trim());
|
||||
- throw new Error(failMessage);
|
||||
}
|
||||
exports.checkDiagnosticsErrors = checkDiagnosticsErrors;
|
Reference in New Issue
Block a user