Hey there!
I’ve recently installed the SonarLint extension for Visual Studio Community 2017 and it sadly doesn’t seem to work very well in my Node.Js Project. I don’t seem to be able to toggle any rules so the only thing that’s currently showing up are when I’m forgetting a “let” statement before a variable assignment.
Inside some more “complex” Javascript files nothing show’s up at all and when I look at the output SonarLint produces it always throws a parsing error at try-catch blocks.
For example even this function can’t be parsed(verbose enabled) :function test() { try { console.log("hello") } catch{ console.log("oh no!") } }
But even when I comment the try-catch blocks out basically nothing shows up since there seems to be only one rule active.
I also have Visual Studio Code installed and if I use SonarLint there everything works perfectly. I can select and deselect rules and the code is being correctly parsed and the issues are being shown.
Is there something I’m doing wrong/that I’m missing?
I did enable JavaScript support, which I didn’t at first but now things are becoming a bit frustrating.
Thank you very much in advance for taking your time to read through this.
Any ideas/hints would be very much appreciated!
