Eslint-plugin-sonarjs S2699 issue with node assert

While upgrading to the latest eslint v9 false positive issue was raised with S2699 rule.

The test code uses assert to assert for tests. Checking discussion False positive: S2699 - Add at least one assertion to this test case
The issue was fixed for sonarqube and IDE connected mode. But npm eslint-plugin-sonarjs:3.0.2 fixes were not introduced to it.

Can a new version with these fixes be released? The latest release of the plugin ins 4 months old at this moment Release eslint-plugin-sonarjs · SonarSource/SonarJS@654dd1b · GitHub

Hi @Blaz_Ocepek,

Thanks for keeping us in check. We will perform the release today!

Cheers,
Michal

3 Likes