Pablissimo / SonarTsPlugin

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

Run SonarTsPlugin AND SonarSource/SonarTS #182

Open guillaume317 opened 6 years ago

guillaume317 commented 6 years ago

Hi Team,

Is it possible to run together on a same instance your plugin and the new SonarSource/SonarTS one ? Both plugins have the same name. When I try to rename it, another problem occurs with the following message: "java.lang.IllegalArgumentException: Multiple entries with same key: ts=TypeScript and ts=TypeScript "

Thanks

nixel2007 commented 6 years ago

No, you can't. Even if you handle the same key issue, you'll face the same extension error - only one plugin can be registred to analyze ts extension. To make work both plugins, this plugin must be re-written to "custom rules plugin" api, extending the official one.

philipooo commented 6 years ago

Would be nice if we could use this plugin side by side. I love the way how tslint-output can be imported with the help of this plugin. The original SonarQube plugin has no way doing this.

ClaudioLelis commented 5 years ago

Now in SonarQube 7.4 seems like SonarTSPlugin does not working. Is that true? I uninstalled the SonarSource/SonarTS and even not worked.

philipooo commented 5 years ago

Btw SonarSource/SonarTS now supports import of tslint output.

ClaudioLelis commented 5 years ago

Yes, but I can not automatically run TSLint through sonar-scanner, and can not manage TSLint core and custom rules, right?