Intellij SonarLint 2.3 - 忽略规则 [英] Intellij SonarLint 2.3 - ignore rule

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

问题描述

我刚刚将Intellij Idea的SonarLint插件更新为2.3.2版。
Changelog说,因为版本2.3规则排除在连接模式下应该可用。

I've just updated SonarLint plugin for Intellij Idea to version 2.3.2. Changelog says that since version 2.3 rule exclusion in connected mode should be available.

下面是我的配置,似乎已经更正,但是,忽略规则仍然弹出

Below is my configuration, seems to be corrected, yet, ignored rule still pops up.

推荐答案

目前,必须在SonarQube服务器中定义排除项。这就是为什么它只在连接模式下支持。

Currently, the exclusions must be defined in the SonarQube server. That's why it's only supported in the connected mode.

对不起,如果更改注释不清楚,我将更新 https://jira.sonarsource.com/browse/SLI-72

Sorry if change notes were not clear, I will update the title of https://jira.sonarsource.com/browse/SLI-72.

在某些时候,将支持在IDE中定义排除项。随意关注/投票相应的票: https://jira.sonarsource.com/browse/SLI -97

Defining exclusions in the IDE will be supported at some point. Feel free to follow/vote the corresponding ticket: https://jira.sonarsource.com/browse/SLI-97

这篇关于Intellij SonarLint 2.3 - 忽略规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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