7

I've just updated SonarLint plugin for Intellij Idea to version 2.3.2. Changelog says that since version 2.3 rule exclusion in connected mode should be available.

Below is my configuration, seems to be corrected, yet, ignored rule still pops up.

Analysis configuration

Piotr
  • 671
  • 6
  • 17

1 Answers1

8

Currently, the exclusions must be defined in the SonarQube server. That's why it's only supported in the connected mode.

Sorry if change notes were not clear, I will update the title of https://jira.sonarsource.com/browse/SLI-72.

Defining exclusions in the IDE will be supported at some point. Feel free to follow/vote the corresponding ticket: https://jira.sonarsource.com/browse/SLI-97

Duarte Meneses
  • 2,868
  • 19
  • 22
  • 6
    SLI-97 looks to me like it's about excluding *files* from analysis, whereas this question looks to me like it's about ignoring *rules*. – Matt Oct 27 '17 at 13:15
  • This seems to be no longer that case: When I uncheck a rule in settings (in the global settings dialog, not sonarlint's config dialog), it does not fire even though my server mandates it. – Joachim Lous Sep 06 '19 at 13:51