Continuous Inspection

SonarQube JavaScript 2.11 Released

SonarSource is pleased to announce the release of the JavaScript plugin version 2.11.

This version embeds 16 new rules to enforce some coding practices relating to ECMAScript 2015 (formerly ECMAScript 6 or ECMAScript Harmony). Moreover, based on a complete Control Flow Graph, almost all kinds of dead store and unreachable code can now be detected. Example of one dead store detected on AngularJS project :

dead_store

 

And example of one unreachable code detected on Closure Library project:

Closure_library

List of 16 new rules :

Please read the release notes for more information. You can install or update it via the Update Center.

Documentation is available on the product page.