SonarLint for IntelliJ 2.3 发布了,这个新版本带来了连接模式的改进。
首先,写在自定义规则上面的现有分析仪比如java或JavaScript现在已经支持SonarLint。但是,嵌入这些规则的插件必须首先更新为最新的API,然后部署在SonarQube实例上。其次,文件和在sonarqube实例中的配置问题排除正在被SonarLint检索和应用。
在这些改进之上,SonarLint现在嵌入了Python的分析:
此外,Java和JavaScript嵌入分析仪也更新到最新版本,这带来了以下新的规则和改进:
Java:
“Arrays.stream” should be used for primitive arrays (Bug, performance)
“Optional” should not be used for parameters (Code Smell, clumsy)
Double Brace Initialization should not be used (Code Smell, leak)
Test classes should comply with a naming convention (Code Smell, convention, tests)
Test methods should comply with a naming convention (Code Smell, convention, tests)
Underscores should be used to make large numbers readable (Code Smell, convention)
JavaScript
Precise issue location for all rules
完整介绍请看 release note 或者访问 SonarLint for IntelliJ web site.
详情:http://www.sonarsource.com/2016/08/05/sonarlint-for-intellij-2-3-released/