Is there a way to tell webstorm to read different tsconfig.json file for test files? It would be very useful, I have *.spec.ts files exluded from my main tsconfig.json, and separete a tsconfig.spec.json for them. Because of this whenever i want to use for example async / await in my test it gets underlined red by webstorm. alt + enter doesn't let me disable the inspection like it normally does, i only see the option to 'suppress with @ts-ignore' which is stupid, i dont want to put it in every place i use async.
So i created a scope with all *.spec.ts files as shown below, and set the severity level for this scope to none. I also used the icon in bottom-right corner to disable inspections for the file, all with no effect, the red line is still there.
So am I doing something wrong here or is it a bug? Ideally i would like webstorm to read additional tsconfig, but if its not possible i would just like to get rid of this red underline, because its extremely annoying. Even if it means completly disabling inspections for test files.