SonarQube JavaScript 2.17 发布了。 Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。 更新内容: “void” should not be used (Code Smell, confusing) The output of functions that don’t return anything should not be used (Bug) Here is an example of a real life issue found by this bug detection rule Bug 修复 [SONARJS-778] - Incorrect Parsing: object and array binding pattern in assignment lhs 提升 [SONARJS-730] - Extend the list of valid types for "typeof" expression [SONARJS-731] - Symbolic execution: false positive in array/object assignment pattern [SONARJS-732] - Symbolic Execution: compound condition symbolic value [SONARJS-738] - Improve EqEqEq: ignore comparisons with operands of same type [SONARJS-776] - Remove expression from issue message for ParenthesesCheck [SONARJS-779] - Improve message for TooManyArguments [SONARJS-784] - Symbolic execution: track variables created with array/object binding pattern [SONARJS-786] - Extend rule DuplicatePropertyName: support classes 下载地址: https://sonarsource.bintray.com/Distribution/sonar-javascript-plugin SonarQube JavaScript 2.17 发布下载地址