Ignore void-use for promises in sonarlint

  • Operating system: Windows
  • SonarLint plugin version: v4.6.0
  • Programming language you’re coding in: Javascript
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version): No

So I have been using void for promises in the code:
void this.router.navigate

Which the sonnar js supports from Ignore promises in S3735 `void-use` · Issue #2629 · SonarSource/SonarJS · GitHub

But still the vs code is giving warning. Need fix for this.

I’ve moved your post to the section on reporting false-positives.

can you please provide a complete code sample?