How to create 'Custom Rule' in Sonarqube | #sonarqube | #customrules #codequality #javascript

preview_player
Показать описание
In this tutorial, we will learn how to create custom rules and ways to map that to the quality profile and see that in action.

References:

If you guys have any feed-forward please do let me know in the comment section.

For more details please contact me through the below link:

Please leave a thumbs up and subscribe to this channel, if it has helped you achieve what you are looking for 😊. I will consider this a contribution from you guys!

Thank you & Happy learning!
#sonarqube #sonarscanner #sonar #javascript #customrule #security #codequality #qualityprofile
Рекомендации по теме
Комментарии
Автор

I cannot see the option where you can Activate or Deactive quality profile

carlossantamaria
Автор

Could you please create tutorial for C# Custom Rules? Thank you

EldiSudradjat
Автор

Amazing tutorial vikash. Need your help I am trying to analyse the json code and want to check the if the specific key or value is present in the code. What will be the regular expression I should use ?

aloktiwari
Автор

Can you please make a video for python rules ?

divyangpatel
Автор

Thanks a lot for such a helpful tutorial 🙏.

amithbhagat
Автор

can custome rules be crated in the plugin sonarlint itself ?

parvathysuresh
Автор

Hi Vikash good tutorial how do you use combined nested if (and or ) logic between the rules? Looks like custom rules are very simple…. Meaning they support reg expression, but I did not see anywhere possibility to combine the rules…. For example if 1 custom rule was defined to match for a string and another rule was created to check for some reg expression, then combined rule of if rule 1 or rule 2 matches…. Than that would be considered as a fail for example in the scan….

Is it even possible to do this somehow?

allach
Автор

Can we create custom rules for XML, if yes then how, the same way only?

mohdtabishkhan