Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is a Scala profile for SonarQube?

Is there basic ruleset/quality profile for SonarQube for the Scala language?

I couldn't find any and it's hard to imagine that everyone starts with an empty ruleset.

like image 363
Th 00 mÄ s Avatar asked Oct 16 '13 08:10

Th 00 mÄ s


People also ask

Does SonarQube work with Scala?

SonarQube has support for many languages but it doesn't have support for Scala- so this blog will guide through configuring sonar-scala and scoverage plugins to generate code analysis and code coverage reports.

How do I create a profile in SonarQube?

Creating Custom Quality Profile in SonarQube Let's click Quality Profiles tab, go to the Java section, copy Sonar way profile and rename this Custom Quality Profile. You can either assign this profile to an existing project or even declare it as default for all projects.

Which is the default profile used in SonarQube quality profile?

The Sonar way Quality Profiles are a good starting point as you begin analyzing code, and they start out as the default Quality Profiles for each language. However, we recommend that you Copy this profile (see Copying a profile below) and begin to fine-tune the rules.


1 Answers

I have build a plugin for running Scalastyle on SonarQube. It comes with the default Scalastyle Quality profile and you can create or customise quality profiles.

github.com/emrehan/sonar-scalastyle

like image 115
Han Tuzun Avatar answered Oct 26 '22 13:10

Han Tuzun