Intellij SonarLint 2.3 - 忽略规则 [英] Intellij SonarLint 2.3 - ignore rule
问题描述
我刚刚将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屋!