@typescript-eslint/typescript-estree 8.47.1-alpha.0 → 8.47.1-alpha.2
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.
|
@@ -21,12 +21,12 @@ function inferSingleRun(options) {
|
|
|
21
21
|
// https://github.com/typescript-eslint/typescript-eslint/issues/9504
|
|
22
22
|
// There's no support (yet?) for extraFileExtensions in single-run hosts.
|
|
23
23
|
// Only watch program hosts and project service can support that.
|
|
24
|
-
if (options?.extraFileExtensions?.length) {
|
|
24
|
+
if (options?.extraFileExtensions?.length && options.project) {
|
|
25
25
|
return false;
|
|
26
26
|
}
|
|
27
27
|
if (
|
|
28
28
|
// single-run implies type-aware linting - no projects means we can't be in single-run mode
|
|
29
|
-
options?.project == null ||
|
|
29
|
+
(options?.project == null && !options?.projectService) ||
|
|
30
30
|
// programs passed via options means the user should be managing the programs, so we shouldn't
|
|
31
31
|
// be creating our own single-run programs accidentally
|
|
32
32
|
options.programs != null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/typescript-estree",
|
|
3
|
-
"version": "8.47.1-alpha.
|
|
3
|
+
"version": "8.47.1-alpha.2",
|
|
4
4
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"typecheck": "yarn run -BT nx typecheck"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@typescript-eslint/project-service": "8.47.1-alpha.
|
|
56
|
-
"@typescript-eslint/tsconfig-utils": "8.47.1-alpha.
|
|
57
|
-
"@typescript-eslint/types": "8.47.1-alpha.
|
|
58
|
-
"@typescript-eslint/visitor-keys": "8.47.1-alpha.
|
|
55
|
+
"@typescript-eslint/project-service": "8.47.1-alpha.2",
|
|
56
|
+
"@typescript-eslint/tsconfig-utils": "8.47.1-alpha.2",
|
|
57
|
+
"@typescript-eslint/types": "8.47.1-alpha.2",
|
|
58
|
+
"@typescript-eslint/visitor-keys": "8.47.1-alpha.2",
|
|
59
59
|
"debug": "^4.3.4",
|
|
60
60
|
"fast-glob": "^3.3.2",
|
|
61
61
|
"is-glob": "^4.0.3",
|