Configured rules but failed to take effect on vscode

Hello, thanks for the additional details.

As per the FAQ, could you please:

  • set sonarlint.output.showAnalyzerLogs and sonarlint.output.showVerboseLogs to true in your user settings
  • close and re-open your JS file to trigger an analysis
  • go to the SonarLint Output, copy the contents of the output pane and paste it here enclosed within a ``` block

This (the showAnalyzerLogs part) will give us some insights about what prevents the analyzer from doing its job correctly.