SonarQube JavaScript 2.10 发布下载

linux新闻评论521 views阅读模式

SonarQube JavaScript 2.10 发布下载,此版本主要改进:

  • Automatically detects minified files and so exclude them from the analysis
  • Provides a new “Sonar Security Way” quality profile containing only rules targeting the detection of bugs or security vulnerabilities
  • And embeds 8 new rules

规则主要是:

  • “delete” should be used only with object properties (bug)
  • The identity operator (“===”) should not be used with dissimilar types (bug)
  • Strings and non-strings should not be added (suspicious)
  • Parameters should be passed in the correct order (bug)
  • Multiline blocks should be enclosed in curly braces (bug,cwe)
  • Loop counters should not be assigned to from within the loop body (suspicious)
  • Increment (++) and decrement (–) operators should not be used in a method call or mixed with other operators in an expression (cert, misra)
  • Comparison operators should not be used with strings (suspicious)

详细改进请看 release notes,请前往更新中心安装或者更新,文档提供在 product page。

企鹅博客
  • 本文由 发表于 2019年9月22日 05:50:46
  • 转载请务必保留本文链接:https://www.qieseo.com/295608.html

发表评论