I am new to SonarQube and currently i am using sonarqube 8.5 community edition. I want to add our own typescript convention rules in sonarqube but I didnt find any proper guideline to follow. Need help, it my urgent task.
Hope it helps,
I am new to this whole thing. Can you tell me how i should go about with this?
The first step is to go through ESLint documentation and learn to create custom rules. At first glance, you will have to create a new plugin, then create your own rule. I’m sure you will find plenty of information online.
Then, you have to run this Eslint plugin and make it generate a report, the same way you would do it for Eslint. Finally, you can configure SonarQube to import this report thanks to
If you are new to both SonarQube and Typescript, I expect this task to not be trivial at all. Maybe as an alternative, you can share with us the idea that you have? If the rule makes sense for everyone, maybe we should include it directly in the Typescript analyzer directly?