TypeScript: Problems panel lists 4 problems for jsconfig.json in my project
TS Template added by @mjbvz
TypeScript Version: 4.1.5
Search Terms
- configdiag
- VS Code Version: 1.53.2
- OS Version: Windows 10
Steps to Reproduce:
- Create a new Gatsby project, or clone from my repo
- Open VSCode
- Create a new jsconfig.json file if it does not exist
- Problems panel will randomly show errors on the jsconfig.json file

The jsconfig.json file contains this:
{
"compilerOptions": {
"module": "commonjs",
"jsx": "preserve",
"baseUrl": "./src"
},
"include": ["src"],
"exclude": [
"node_modules",
"**/node_modules/*",
"node_modules/**/*",
"public"
]
}
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 3
- Comments: 23 (6 by maintainers)
Ok, I’ve moved this to typescript to see if they have any insights.
Here’s the relevant diagnostics that are being generated:
Here is a link to a working solution on stackoverflow The solution requires adding the json schema to vscode JSON Settings https://stackoverflow.com/questions/61287127/vscode-shows-typescript-related-problems-in-jsconfig-json-file#answer-66552275