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

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

问题描述

我想禁用 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天全站免登陆