Deactivate custom rules in SonarLint for Eclipse

Hi,

beside the answer of @Julien_HENRY it might be simpler to deactivate the Sonarlint support in
the pom of your Maven project, i.e.

[...]
<build>
  <plugins>
    <plugin>
      <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
      <artifactId>sonar-packaging-maven-plugin</artifactId>
      <version>1.17</version>
      <extensions>true</extensions>
      <configuration>
        <pluginClass>com.foobar.java.JavaRulesPlugin</pluginClass>
        <sonarLintSupported>false</sonarLintSupported>
        <sonarQubeMinVersion>6.7</sonarQubeMinVersion>
      </configuration>
    </plugin>
[...]

see sonarLintSupported

Regards,
Gilbert

2 Likes