SonarQube JavaScript 2.12 发布了,Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。 改进记录如下: Bug [SONARJS-651] - False Positive UnchangedLetVariable (S3353): for-loop declaration [SONARJS-660] - NPE NonEmptyCaseWithoutBreak: "case" block starts with a function declaration [SONARJS-680] - CFG: exception on break without block [SONARJS-681] - False Positive SingleQuoteStringLiteralsCheck: JSX attributes [SONARJS-684] - False Positive LineLengthCheck: line containing JSX [SONARJS-687] - False Positive ExpressionComplexityCheck (S1067): JSX expression [SONARJS-690] - Exception on object binding pattern with both variable name and initializer Improvement [SONARJS-274] - Deprecate ConditionalOperator/S1521 in favor of RSPEC-1774 [SONARJS-661] - Improve DeadStore: consider logical operator in assignment [SONARJS-662] - Remove useless dependencies in JAR [SONARJS-672] - Tune rule StringConcatenationCheck (S3512) [SONARJS-683] - Improve ArrowFunctionConventionCheck (S3524): ignore multiline return [SONARJS-689] - False Negative LineLengthCheck: commented lines New Feature [SONARJS-521] - Support React JSX [SONARJS-598] - Support trailing comma in parameter list [SONARJS-656] - Support object spread/rest properties [SONARJS-658] - Support overall coverage calculation [SONARJS-663] - Rule: Conditions should not unconditionally evaluate to "TRUE" or to "FALSE" [SONARJS-665] - Support exponentiation operator [SONARJS-666] - Rule: Array indexes should be numeric 下载地址:https://sonarsource.bintray.com/Dis...cript-plugin/sonar-javascript-plugin-2.12.jar SonarQube JavaScript 2.12 发布下载地址