SonarLint for Visual Studio 2.2 发布
欢迎加入运维网交流群:263444886>>> »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)
连接模式也得到了改进:
SonarQubeexclusion MSBuild的属性可以通过一个更好的用户界面编辑:
详情查看更新说明,或访问 SonarLint for Visual Studio site
页:
[1]