Support finding a jsconfig.json with tsc -p .
#41350
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Search Terms
jsconfig project
Suggestion
When I run
tsc -p .on a JavaScript project withjsconfig.jsonand// @ts-checkwith JSDoc it complains about not finding atsconfig.jsonCurrently I have to run
tsc -p jsconfig.json --maxNodeModuleJsDepth 0to check my JavaScript project.It tells me that
tsconfig.jsondoes not exist.Adding detection for
jsconfig.jsonand turning--maxNodeModuleJsDepth 0on by default ( which we do for tsconfig.json but not jsconfig.json ) would be a good user experience improvmenent.Use Cases
Being able to use the
tsccli on a JavaScript + JSDoc project.Examples
tsc -p .will "just work" for a JavaScript project.Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: