github SonarSource/SonarJS 9.12.0.20319
9.12.0

latest releases: 10.16.0.27621, 10.15.0.27423, 10.14.0.26080...
23 months ago

In this release:

  • We improved the precision of the Cognitive Complexity for JSX by ignoring shorthand such as short-circuit logic.

  • We added 6 new rules for detecting performance issues in React:

    • S6477: Mandatory keys in JSX list components
    • S6479: No array index for keys in JSX list components
    • S6486: No uniq values as keys for JSX list components
    • S6480: Disallow .bind() and arrow functions in JSX props
    • S6481: React Context Provider values should not have unstable identities
    • S6478: React components should not be nested

Milestone: https://github.com/SonarSource/SonarJS/issues?q=is%3Aclosed+milestone%3A9.12

Full Changelog: 9.11.1.20218...9.12.0.20319

Don't miss a new SonarJS release

NewReleases is sending notifications on new releases.