Intellij SonarLint 2.3 - ignore rule

此生再无相见时 提交于 2019-12-12 10:37:31

问题


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.


回答1:


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

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

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



来源:https://stackoverflow.com/questions/39449816/intellij-sonarlint-2-3-ignore-rule

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!