在声纳中禁用规则 [英] Disable rule in sonar

查看:191
本文介绍了在声纳中禁用规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要禁用Sonar中的规则,因此它不会在网页中显示结果。
在我的例子中,我想隐藏(或不捕获)关于结尾注释的结果。

I want to disable a rule from Sonar so it doesn't show the results in the web page. In my case I want to hide (or not capture) the results about trailing comments.

是否可以配置它在某个地方?

Is it posible to configure it somewhere?

感谢。

推荐答案

您必须在质量简档中删除此规则使用分析您的项目。

You have to remove this rule in the quality profile that you are using to analyse your project.

请参阅描述所有这些的文档: Sonar中的质量配置文件

Please refer to the documentation that describes all this: Quality Profiles in Sonar.

这篇关于在声纳中禁用规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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