红联Linux门户
Linux帮助

SonarLint for Visual Studio 2.2发布

发布时间:2016-05-05 09:28:04来源:红联作者:baihuo
SonarLint for Visual Studio 2.2 发布了。

新版本嵌入了以下8个新的规则:

Methods with “Pure” attribute should return a value (Bug)

Events should be invoked (Code Smell, unused)

Private fields only used as local variables in methods should become local variables (Code Smell, pitfall)

Variables should not be checked against the values they’re about to be assigned (Code Smell, confusing)

Unassigned members should be removed (Code Smell, confusing)

One-way “OperationContract” methods should have “void” return type (Bug)

“ServiceContract” and “OperationContract” attributes should be used together (Code Smell, suspicious)

“params” should not be introduced on overrides (Code Smell, confusing)

连接模式也得到了改进

SonarQube exclusion MSBuild的属性可以通过一个更好的用户界面编辑

软件详情:https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=11242&version=13034

下载地址:http://vs.sonarlint.org/

来自:开源中国社区
文章评论

共有 0 条评论