Pablissimo / SonarTsPlugin

SonarQube plugin for TypeScript files
MIT License
185 stars 106 forks source link

Rules/analysis not showing up in SonarLint for IntelliJ #128

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi,

we are using SonarLint for IntelliJ. It is configured with the proper project which is using a quality profile based on your plugin for analysis, but we don't see anything in the IDE. What could be the issue?

Thanks in advance and also for the plugin itself Monika

Pablissimo commented 7 years ago

I've never tried running the plugin via SonarLint, I'm afraid and didn't specifically code it to support such a mode. So I think it's working as expected (in that it's not working at all), but would be an interesting thing to keep open as a feature request.

nixel2007 commented 7 years ago

Try to enable sonarlint support in your pom.xml, the build section

      <plugin>
        <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
        <artifactId>sonar-packaging-maven-plugin</artifactId>
        <version>1.17</version>
        <extensions>true</extensions>
        <configuration>
          <pluginClass>org.silverbulleters.sonar.plugins.bsl.BSLPlugin</pluginClass>
          <sonarLintSupported>true</sonarLintSupported>
        </configuration>
      </plugin>