Custom TypeScript rules in SonarQube - sonarqube

In the documentation (https://docs.sonarqube.org/latest/extend/adding-coding-rules/#header-1) TypeScript isn't listed as a supported language for custom rules but JavaScript is. Because of this is it possible to use the JavaScript runner to execute custom TypeScript rules?
If not, is anyone aware of how to do more advanced rules with tslint or is there an alternative to SonarQube that would allow it?

for SonarQube visit here and here, it will help you.
and I found this, it’s not possible, the concept of external issues
appeared in SonarQube 7.2. Upgrade to the new LTS 7.9

Related

SonarQube Plugin Development in Issue View

Dear SonarQube Community,
I have a general question regarding is it possible to write a plugin that will extend the Issue View? See screenshot and its red marks.
I looked at the API for Plugin Development and didn´t find a part where I can do that.
I want to develop for SonarQube 6.x
Thank you!
Felix
There is no ability to extend this part of the UI.

How to setup OWASP plugin to sonarqube

I am trying to find a documentation on how to setup OWASP project https://www.owasp.org/index.php/OWASP_SonarQube_Project to setup it for SonarQube. I tried to find in available plugins but i couldn't find anything related to it. I read few documentation and little bit confused how to use OWASP to SonarQube.
I have SonarQube 5.6 version. Can anyone help me to understand how to setup OWASP in SonarQube.
Thanks,
There is no plugins to add. All the rules of your langage you have in SonarQube are tagged "cwe, owasp, bug" or something like this.
You could setup a profile with all the rules you want to check and name it "OWASP profile".
BTW, actually the OWASP SonarQube project was closed. And nothing more will be done on it.

How to activate custom java rules during SonarQube analysis?

I implemented custom rules for java as described here enter link description here. Rules are visible on the server side at rules page, but no one from them is applied to code during analysis.
I'm using sonar 5.1.1 and updated sonar-java-plugin to v3.2.
I'm wonder what's wrong. During debug using sonar-runner I noticed that my CheckRegistrar is loaded but checks from it is ignored.
The solution is simple...Rules have to be included in Quality Profile.......

Sonar 4.1.2: php-plugin not detecting any violations

Sonarqube 4.1.2 with the latest php-plugin is not detecting any violations.
When I run the analisis with Sonar 4.2 it shows me the errors how I expected them.
Is there a bug related to the php-plugin? Can anyone confirm this behaviour?
Thanks in advance
When using SonarQube 4.1.2, could you double check the content of the PHP quality profile that you're using ? Indeed in latest versions of the PHP plugin, all rules have been rewritten so if you have also upgraded the PHP plugin perhaps you're simply doing an analysis with an empty quality profile.

how to disable some issue in sonar metrics?

It is possible turn off some issue checking in sonar projects and how to do it? I want to for example disable "Tabulation characters should not be used" or "Modifier Order".
Thank for help.
If you would like keep the rule active while excluding certain parts of your source-code, you can use features of the the switch-off violations-plugin.
The plugin was deprecated with sonarqube 4.0, as it is now possible to use integrated features described in this part of the sonarqube-documentation:
http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus
If you are using an older version of sonarqube you find the plugin here:
http://docs.codehaus.org/display/SONAR/Switch+Off+Violations+Plugin

Resources