@typescript-eslint/tsconfig-utils 8.50.2-alpha.9 → 8.51.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,10 @@ function getParsedConfigFile(tsserver, configFile, projectDirectory) {
59
59
  useCaseSensitiveFileNames: tsserver.sys.useCaseSensitiveFileNames,
60
60
  });
61
61
  if (parsed?.errors.length) {
62
- throw new Error(formatDiagnostics(parsed.errors));
62
+ throw new Error([
63
+ "Unable to parse the specified 'tsconfig' file. Ensure it's correct and has valid syntax.",
64
+ formatDiagnostics(parsed.errors),
65
+ ].join('\n\n'));
63
66
  }
64
67
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
65
68
  return parsed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/tsconfig-utils",
3
- "version": "8.50.2-alpha.9",
3
+ "version": "8.51.1-alpha.0",
4
4
  "description": "Utilities for collecting TSConfigs for linting scenarios.",
5
5
  "files": [
6
6
  "dist",