Continuous Inspection

SonarLint for Visual Studio 1.7 Released

SonarSource is pleased to announce the release of SonarLint for Visual Studio version 1.7.

This version embeds 5 new C# rules and some false positives reported by the community have been fixed.

Here are the newly added rules since version 1.6.0:

Moreover, the two following rules have been highly tuned:

  • “IDisposables” should be disposed
    This rule has been totally reworked, and now only supports a fixed set of “IDisposable” types and factory methods. Such as this issue, when the local variable “face” is not disposed in project Nancy:
    dispose
  • Unused method parameters should be removed
    This rule has been fixed to not report on methods that are assigned to delegates. And a code fix is also provided.
    Example of unused parameter from project Akka:
    unused_parameter

For more information, have a look to the release note or visit the dedicated SonarLint for Visual Studio web site.

Have fun with SonarLint !