在 Sonar lint CLI 工具中配置规则

configure rules in Sonar lint CLI tool

我想在 Sonar lint CLI 工具中配置规则,但找不到任何方法。

任何人都可以建议将 sonarlint CLI 与 sonarqube 服务器集成的方法。

提前致谢。

根据 SonarLint CLI FAQ ,


How to configure rules?

You can't for now. We might implement this feature in upcoming versions, probably by allowing to "point" SonarLint to a SonarQube server instance.

并且根据Sonarlint CLI JIRA ,这个支持"sonarQube server connection"的新功能预计将在2016年8月12日发布2.0版本。

因此您可以等待此功能发布,很可能连接 SonarQube 服务器的过程将在版本 2.0 发行说明中可用。

连接的过程应该类似"Sonarlint Eclipse Plugin to SonarQube server"

希望对您有所帮助