Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(typescript-estree): stabilize EXPERIMENTAL_useProjectService as projectService#9084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
e8dc154
b37f916
e582b1c
3936ab9
abae6c2
8d92ba8
c18226e
b5ce43b
61a2c83
c6cbfe3
86e4aa9
af60be8
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -50,7 +50,7 @@ | ||
"Airbnb", | ||
"Airbnb's", | ||
"ambiently", | ||
"allowdefaultproject", | ||
"Armano", | ||
"astexplorer", | ||
"Astro", | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -198,15 +198,6 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { | ||
*/ | ||
errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; | ||
/** | ||
* ***EXPERIMENTAL FLAG*** - Use this at your own risk. | ||
* | ||
@@ -249,6 +240,8 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { | ||
* If this is provided, type information will be returned. | ||
* | ||
* If set to `false`, `null`, or `undefined`, type information will not be returned. | ||
* | ||
* Note that {@link projectService} is now preferred. | ||
*/ | ||
project?: string[] | string | boolean | null; | ||
@@ -261,6 +254,11 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { | ||
*/ | ||
projectFolderIgnoreList?: string[]; | ||
JoshuaKGoldberg marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
/** | ||
* Whether to create a shared TypeScript project service to power program creation. | ||
*/ | ||
projectService?: boolean | ProjectServiceOptions; | ||
/** | ||
* The absolute path to the root directory for all provided `project`s. | ||
*/ | ||
@@ -281,15 +279,15 @@ interface ProjectServiceOptions { | ||
/** | ||
* Globs of files to allow running with the default project compiler options. | ||
*/ | ||
allowDefaultProject?: string[]; | ||
JoshuaKGoldberg marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
/** | ||
* Path to a TSConfig to use instead of TypeScript's default project configuration. | ||
*/ | ||
defaultProject?: string; | ||
JoshuaKGoldberg marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
/** | ||
* The maximum number of files {@linkallowDefaultProject} may match. | ||
* Each file match slows down linting, so if you do need to use this, please | ||
* file an informative issue on typescript-eslint explaining why - so we can | ||
* help you avoid using it! | ||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.