SonarJS icon indicating copy to clipboard operation
SonarJS copied to clipboard

Analyse TS files without tsconfig

Open saberduck opened this issue 4 years ago • 1 comments

In some contexts (ie SonarLint) we don't have tsconfig file of project. However, we could still analyze the file. This is already done for JS files and we rely on default project created by @typescript-eslint/parser

saberduck avatar Feb 25 '21 11:02 saberduck

Hey @saberduck !

Can you please clarify the requirement here? Does a tsconfig.json file have to exist in order for the TS files to be analyzed?

hosszubalazs avatar May 11 '22 15:05 hosszubalazs

We've decided not to implement this, because having tsconfig file is requirement for any TS project, so the use case of this change is limited only to some toy examples and not relevant for majority of users.

saberduck avatar Aug 19 '22 13:08 saberduck