SonarJS
SonarJS copied to clipboard
Improve progress report to include `tsconfig` files
In #2911 we added ProgressReport to new analysis using ts.Program
. In some cases this can be confusing, because it will log file from previous project during the creation of program instance. We should include creation of the program to be part of the progress report.
However, we don't know the number of programs beforehand because of program references, which can introduce additional programs which need to be created. We can either increase the total, or don't count programs to the total of files analyzed.