Import checkstyle configuration from sonar into eclipse-checkstyle-plugin

I want to export checkstyle rules from sonar and import them into the eclipse checkstyle plugin. Unfortunately, sonar exports checkstyle rules to a csv file.

But the checkstyle plugin only accepts import of xml files.

Is there any way to do this?

+4
source share
1 answer

You can get it in xstyle style format by clicking on the link

  • Configuration
  • Quality Profiles → Choose Your Profile
  • activate the permalink tab

This should give you access to the checkstyle configuration as xml.

In Eclipse, you can even configure the checkstyle plugin to use a URL and always get the latest rules on the Internet.

+9
source

All Articles