Connected to SonarCloud or SonarQube (and which version): SonarQube Community Edition Version 9.9.3 (build 79811)
I program using Intellij’s PHPStorm and my setup is within WSL, meaning that the project is stored inside the Ubuntu folders but SonarLint forces me to use Windows’ Node.js installation, otherwise it won’t work.
The problem is that with JavaScript files the analysis usually takes around 3 minutes for moderately complex files with some imports, which is frankly unsustainable and is the reason why I had to disable SonarLint automatic triggered analysis on these types of files.
Here is an example javascript file:
console.log("Hello World");
And attached is its log of the analysis performed by SonarLint (it took 82 seconds): deleted
Every analysis, and if I make changes to the file that is currently being analyzed other analysis processes spawn.
PHPStorm then tries to kill the previous running processes but that also takes its significant amount of time.
Are you launching the IDE on Windows and opening a file stored in the WSL file system, or do you have a graphical setup inside the WSL and launch the IDE from there?
If you are following the first option, did you have any additional setup other than creating a project on the WSL file system and opening it on your IDE? If you did, can you share all the settings you have made?
Sorry for the very late answer. We recently made some improvements regarding JS analysis performance, could you give a try with the latest version, and report here if the problem still happens?