如何自动将Google样式规则加载到SonarQube?

时间:2018-07-24 01:08:14

标签: sonarqube

我发现此xml具有样式规则:https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml

我想通过将列表加载到SonarQube中来节省开发人员手动标记不合格的时间,但是我一直无法弄清楚该怎么做。

有人可以帮助我吗?

1 个答案:

答案 0 :(得分:2)

考虑加载问题,而不是加载规则(您必须为此编写一个插件)。刚刚针对这种情况添加了Generic Issue Data功能(7.2)。