How to configure custom rules in SonarQube for javascript - sonarqube

The sonar which we are using for javascript, there is no way to configure the custom rules in it. There are many links which are showing that it could be configure but when I am trying to find out the same things in our dashboard, they are no available. I am still searching on it. If any one can help, please help. Thanks in advance.

Related

Stormpath - Create User Terms and Conditions Page

Does stormpath provide an easy way to implement a terms and conditions page? I have not found much information regarding a way to go about doing this. I am using Express in NodeJS.
Any ideas help.
Thank you
You should implement this as a page in your own application. You can modify our default templates to includes links to your pages.

how do controls in Magnolia 5.4 work?

I need to know how to work with controls in Magnolia 5.4. I've done the Hello Magnolia tutorial on their website and everything is ok, but I still have no idea how to use other controls because there is no article explaining it...
I hope some of you guys could help me out? :)
Start here to learn how to configure different fields (control is 4.x term, we use the term field since M5.0).
How to add fields on a form is also documented in Form definition and My first content app.
Give feedback to the Magnolia documentation team. Describe what kind of tutorial would help you.

Cannot access Sonar TreeMap

I am using sonar 3.1.1.
I cant access
sonar::Treemap.size_metric and sonar::Treemap.color_metric
to display a treemap.
please help me to solve this problem. Or some one suggest an alternative for this.
Thanks in advance.
sonar::Treemap is not part of our Ruby API (which is api::*), so I would not advise you to use it as it can change without notice.

How do I generate a Sitemap.xml in Wicket?

I'm struggling to generate a dynamic sitemap for SEO purposes in a Wicket 1.5 application. I looked at this example but couldn't understand what they mean exactly.
I see I need to create an xml page and mount it but then it talks about generating the url list. How do I do this part? Is there functionality in Wicket to get a list of mounted pages? According to that link, it's "very easy" to do this in Wicket 1.5 so I must be missing something obvious.
Any tips or pointers gratefully appreciated! Thanks.
i did exactly this in 2010. there was a wicketstuff-minis project for this.
it could be possible it still works if you dig it out of the archives.
http://mvnrepository.com/artifact/org.wicketstuff/sitemap-xml
the sources must also be somewhere out there..
this was built for wicket 1.4 but i guess they changed enough to make it no longer work.

Sonar (software quality) - extending sonar (controllers and views)

I have been fiddling with SONAR for some time now, and I would like to extend it to some point. I don't think I will be able to achieve this with a custom plugin but if I would introduce an additional controller and some views - it would get the job done.
Now as I understand, MVC model in sonar is written in RUBY, and I have yet to do research on ruby coding, but before I get to that - is my goal reasonable/achievable ?
Or can additional views and controllers can be added via plugin extensions ?
Basically I just need certain information gathered from sonar DataBase about the project, and displayed in a custom view for additional statistics.
Thanks.
P.S. I have hard time finding information for sonar development, maybe someone could recommend some forums discussing sonar extension topics ?
It is not possible yet to add Ruby controllers and views at the same time through a Sonar plugin. Currently, when extending Sonar Web interface, you can only:
Add a Ruby widget (that will be displayed on a dashboard): this is only a view
Add a Ruby web service API: this is only a controller
Add a GWT extension: here you can define a controller and a view
However, please note that we will drop GWT support in the future, and replace it with the possibility to define extension points that allow to write both controllers and views in Ruby.
So to answer your need, I would advise you to write a widget, like the ones you can see on Sonar source code here: https://github.com/SonarSource/sonar/tree/master/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets
HTH

Resources