@typescript-eslint/typescript-estree 8.0.0-alpha.29 → 8.0.0-alpha.30
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.
package/dist/parser-options.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { CacheDurationSeconds, DebugLevel, JSDocParsingMode } from '@typescript-eslint/types';
|
|
1
|
+
import type { CacheDurationSeconds, DebugLevel, JSDocParsingMode, ProjectServiceOptions } from '@typescript-eslint/types';
|
|
2
2
|
import type * as ts from 'typescript';
|
|
3
3
|
import type { TSESTree, TSESTreeToTSNode, TSNode, TSToken } from './ts-estree';
|
|
4
|
+
export { ProjectServiceOptions } from '@typescript-eslint/types';
|
|
4
5
|
interface ParseOptions {
|
|
5
6
|
/**
|
|
6
7
|
* Prevents the parser from throwing an error if it receives an invalid AST from TypeScript.
|
|
@@ -74,28 +75,6 @@ interface ParseOptions {
|
|
|
74
75
|
*/
|
|
75
76
|
suppressDeprecatedPropertyWarnings?: boolean;
|
|
76
77
|
}
|
|
77
|
-
/**
|
|
78
|
-
* Granular options to configure the project service.
|
|
79
|
-
*/
|
|
80
|
-
export interface ProjectServiceOptions {
|
|
81
|
-
/**
|
|
82
|
-
* Globs of files to allow running with the default project compiler options
|
|
83
|
-
* despite not being matched by the project service.
|
|
84
|
-
*/
|
|
85
|
-
allowDefaultProject?: string[];
|
|
86
|
-
/**
|
|
87
|
-
* Path to a TSConfig to use instead of TypeScript's default project configuration.
|
|
88
|
-
*/
|
|
89
|
-
defaultProject?: string;
|
|
90
|
-
/**
|
|
91
|
-
* The maximum number of files {@link allowDefaultProject} may match.
|
|
92
|
-
* Each file match slows down linting, so if you do need to use this, please
|
|
93
|
-
* file an informative issue on typescript-eslint explaining why - so we can
|
|
94
|
-
* help you avoid using it!
|
|
95
|
-
* @default 8
|
|
96
|
-
*/
|
|
97
|
-
maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING?: number;
|
|
98
|
-
}
|
|
99
78
|
interface ParseAndGenerateServicesOptions extends ParseOptions {
|
|
100
79
|
/**
|
|
101
80
|
* Granular control of the expiry lifetime of our internal caches.
|
|
@@ -217,5 +196,4 @@ export interface ParserServicesWithoutTypeInformation extends ParserServicesNode
|
|
|
217
196
|
program: null;
|
|
218
197
|
}
|
|
219
198
|
export type ParserServices = ParserServicesWithoutTypeInformation | ParserServicesWithTypeInformation;
|
|
220
|
-
export {};
|
|
221
199
|
//# sourceMappingURL=parser-options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,UAAU,EACV,gBAAgB,
|
|
1
|
+
{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAMjE,UAAU,YAAY;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;OASG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;;;;;;OAQG;IACH,GAAG,C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.0-alpha.30",
|
|
4
4
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"typecheck": "tsc --noEmit"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@typescript-eslint/types": "8.0.0-alpha.
|
|
58
|
-
"@typescript-eslint/visitor-keys": "8.0.0-alpha.
|
|
57
|
+
"@typescript-eslint/types": "8.0.0-alpha.30",
|
|
58
|
+
"@typescript-eslint/visitor-keys": "8.0.0-alpha.30",
|
|
59
59
|
"debug": "^4.3.4",
|
|
60
60
|
"globby": "^11.1.0",
|
|
61
61
|
"is-glob": "^4.0.3",
|