在SonarQube 5.1设置C#6.0的规则 [英] Setting C# 6.0 rules in SonarQube 5.1

查看:1809
本文介绍了在SonarQube 5.1设置C#6.0的规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装SonarQube 5.1版本并运行它针对C#code。分析的结果相当不错,但我期待声纳将根据指出的问题的最新的C#6.0(也就是现在的电流)功能过于,这似乎失踪了。

I installed SonarQube version 5.1 and running it against C# code. The results of the analysis were quite OK, but i was expecting that Sonar would point out the issues based on the latest C# 6.0( which is current now) features too, which seems missing.

任何人都可以让我知道如果我能在某种插件添加新的C#6.0的功能?我不知道我是否可以添加自定义规则,C#,因为我无法找到他们的网站的C#(这里 - 发现的 http://docs.sonarqube.org/display/DEV/Writing+Custom+Rules+using+Java )+

Can anyone let me know if i can add new C#6.0 features in some sort of plugin? I am not sure if i can add custom rules for C#, as i couldn't find in their website for c#( found here- http://docs.sonarqube.org/display/DEV/Writing+Custom+Rules+using+Java)

推荐答案

我们已经开始支持自定义规则,C#与的 SonarQube罗斯林SDK ,这让你打包定制罗斯林分析仪的NuGet包作为SonarQube插件。

We are starting to support custom rules for C# with the SonarQube Roslyn SDK, which let's you package your custom Roslyn analyzer Nuget package as a SonarQube plugin.

这篇关于在SonarQube 5.1设置C#6.0的规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆