3
votes

I try to use the SonarLint plugin for IntelliJ in connected mode.

However, it seems that the remote rules work for JavaScript files, but not for Java files.

enter image description here enter image description here

As you can see in the example above, even a simple rule as: "Line is longer than 120 characters" is found by the remove SonarQube server, but not found by the SonarLint IntelliJ plugin.

Do you have any idea why not all of the rules are in sync?

1

1 Answers

3
votes

What is the key of the rule? It is my understanding that SonarLint only supports the SonarSource analyzer (rules with prefix squid).

Also see: https://groups.google.com/forum/#!topic/sonarlint/EmXINryXdos

SonarLint will only execute SonarSource analyzers. PMD/Findbugs/Checkstyle engines are not supported in SonarLint.